StoragedError

StoragedError — Possible errors that can be returned

Functions

#define STORAGED_ERROR

Types and Values

Description

Error codes and D-Bus errors.

Functions

STORAGED_ERROR

#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.

Types and Values

enum StoragedError

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

Members

STORAGED_ERROR_FAILED

The operation failed.

 

STORAGED_ERROR_CANCELLED

The operation was cancelled.

 

STORAGED_ERROR_ALREADY_CANCELLED

The operation has already been cancelled.

 

STORAGED_ERROR_NOT_AUTHORIZED

Not authorized to perform the requested operation.

 

STORAGED_ERROR_NOT_AUTHORIZED_CAN_OBTAIN

Like STORAGED_ERROR_NOT_AUTHORIZED but authorization can be obtained through e.g. authentication.

 

STORAGED_ERROR_NOT_AUTHORIZED_DISMISSED

Like STORAGED_ERROR_NOT_AUTHORIZED but an authentication was shown and the user dimissed it.

 

STORAGED_ERROR_ALREADY_MOUNTED

The device is already mounted.

 

STORAGED_ERROR_NOT_MOUNTED

The device is not mounted.

 

STORAGED_ERROR_OPTION_NOT_PERMITTED

Not permitted to use the requested option.

 

STORAGED_ERROR_MOUNTED_BY_OTHER_USER

The device is mounted by another user.

 

STORAGED_ERROR_ALREADY_UNMOUNTING

The device is already unmounting.

 

STORAGED_ERROR_NOT_SUPPORTED

The operation is not supported due to missing driver/tool support.

 

STORAGED_ERROR_TIMED_OUT

The operation timed out.

 

STORAGED_ERROR_WOULD_WAKEUP

The operation would wake up a disk that is in a deep-sleep state.

 

STORAGED_ERROR_DEVICE_BUSY

Attempting to unmount a device that is busy.