| Storaged Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#define STORAGED_ERROR (storaged_error_quark ())
Error domain for Storaged. Errors in this domain will be form the StoragedError enumeration. See GError for more information on error domains.
typedef enum {
STORAGED_ERROR_FAILED, /* org.storaged.Storaged.Error.Failed */
STORAGED_ERROR_CANCELLED, /* org.storaged.Storaged.Error.Cancelled */
STORAGED_ERROR_ALREADY_CANCELLED, /* org.storaged.Storaged.Error.AlreadyCancelled */
STORAGED_ERROR_NOT_AUTHORIZED, /* org.storaged.Storaged.Error.NotAuthorized */
STORAGED_ERROR_NOT_AUTHORIZED_CAN_OBTAIN, /* org.storaged.Storaged.Error.NotAuthorizedCanObtain */
STORAGED_ERROR_NOT_AUTHORIZED_DISMISSED, /* org.storaged.Storaged.Error.NotAuthorizedDismissed */
STORAGED_ERROR_ALREADY_MOUNTED, /* org.storaged.Storaged.Error.AlreadyMounted */
STORAGED_ERROR_NOT_MOUNTED, /* org.storaged.Storaged.Error.NotMounted */
STORAGED_ERROR_OPTION_NOT_PERMITTED, /* org.storaged.Storaged.Error.OptionNotPermitted */
STORAGED_ERROR_MOUNTED_BY_OTHER_USER, /* org.storaged.Storaged.Error.MountedByOtherUser */
STORAGED_ERROR_ALREADY_UNMOUNTING, /* org.storaged.Storaged.Error.AlreadyUnmounting */
STORAGED_ERROR_NOT_SUPPORTED, /* org.storaged.Storaged.Error.NotSupported */
STORAGED_ERROR_TIMED_OUT, /* org.storaged.Storaged.Error.Timedout */
STORAGED_ERROR_WOULD_WAKEUP, /* org.storaged.Storaged.Error.WouldWakeup */
STORAGED_ERROR_DEVICE_BUSY /* org.storaged.Storaged.Error.DeviceBusy */
} StoragedError;
Error codes for the STORAGED_ERROR error domain and the corresponding D-Bus error names.
| The operation failed. | |
| The operation was cancelled. | |
| The operation has already been cancelled. | |
| Not authorized to perform the requested operation. | |
Like STORAGED_ERROR_NOT_AUTHORIZED but authorization can be obtained through e.g. authentication.
|
|
Like STORAGED_ERROR_NOT_AUTHORIZED but an authentication was shown and the user dimissed it.
|
|
| The device is already mounted. | |
| The device is not mounted. | |
| Not permitted to use the requested option. | |
| The device is mounted by another user. | |
| The device is already unmounting. | |
| The operation is not supported due to missing driver/tool support. | |
| The operation timed out. | |
| The operation would wake up a disk that is in a deep-sleep state. | |
| Attempting to unmount a device that is busy. |