Commit Graph

6 Commits

Author SHA1 Message Date
Aleksander Morgado
961290ddd7 build: autogenerate `mm-errors-quarks.c'
We define custom nicks for each error enum, matching the DBus error entry that
we want to have with each of them.
2012-03-16 14:53:23 +01:00
Aleksander Morgado
120ac6da39 api,errors: new `MM_CORE_ERROR_RETRY'
Lets operations specify that they cannot be run currently, but that the caller
may retry later. Of course, it depends on the caller to really honour the
retry-later suggestion.
2012-03-16 14:53:20 +01:00
Aleksander Morgado
4bf03a24a1 api,header: treat CDMA activation errors as any other error 2012-03-15 14:14:51 +01:00
Aleksander Morgado
0793522d28 errors: new TOO_MANY and NOT_FOUND core errors 2012-03-15 14:14:33 +01:00
Aleksander Morgado
7b12da9169 errors: new MM_CORE_ERROR_CONNECTED error
To be returned when we try to send an AT command to a modem, but there is no
usable AT port available, as the primary port is connected (hence the name)
and there is no secondary port.
2012-03-15 14:14:31 +01:00
Aleksander Morgado
4643dca4a2 api,errors: implement all errors from the new API
Errors that will/may be reported via DBus are defined in the public interface
header.
2012-03-15 14:14:18 +01:00