GoaError

GoaError — Error codes

Synopsis

#define             GOA_ERROR
enum                GoaError;

Description

Error codes and D-Bus errors.

Details

GOA_ERROR

#define GOA_ERROR (goa_error_quark ())

Error domain for Goa. Errors in this domain will be form the GoaError enumeration. See GError for more information on error domains.


enum GoaError

typedef enum {
  GOA_ERROR_FAILED,           /* org.gnome.OnlineAccounts.Error.Failed */
  GOA_ERROR_NOT_SUPPORTED,    /* org.gnome.OnlineAccounts.Error.NotSupported */
  GOA_ERROR_DIALOG_DISMISSED, /* org.gnome.OnlineAccounts.Error.DialogDismissed */
  GOA_ERROR_ACCOUNT_EXISTS,   /* org.gnome.OnlineAccounts.Error.AccountExists */
  GOA_ERROR_NOT_AUTHORIZED,   /* org.gnome.OnlineAccounts.Error.NotAuthorized */
  GOA_ERROR_SSL               /* org.gnome.OnlineAccounts.Error.SSL */
} GoaError;

Error codes for the GOA_ERROR error domain and the corresponding D-Bus error names.

GOA_ERROR_FAILED

The operation failed.

GOA_ERROR_NOT_SUPPORTED

The operation is not supported.

GOA_ERROR_DIALOG_DISMISSED

The dialog was dismissed.

GOA_ERROR_ACCOUNT_EXISTS

Account already exists.

GOA_ERROR_NOT_AUTHORIZED

Not authorized to perform operation.

GOA_ERROR_SSL

Invalid SSL certificate.