Enums

Details

class UDisks.Error(value)

Bases: GObject.GEnum

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

classmethod quark()
Return type:

int

FAILED = 0

The operation failed.

CANCELLED = 1

The operation was cancelled.

ALREADY_UNMOUNTING = 10

The device is already unmounting.

NOT_SUPPORTED = 11

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

TIMED_OUT = 12

The operation timed out.

WOULD_WAKEUP = 13

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

DEVICE_BUSY = 14

Attempting to unmount a device that is busy.

ISCSI_DAEMON_TRANSPORT_FAILED = 15
ISCSI_HOST_NOT_FOUND = 16
ISCSI_IDMB = 17
ISCSI_LOGIN_FAILED = 18
ISCSI_LOGIN_AUTH_FAILED = 19
ALREADY_CANCELLED = 2

The operation has already been cancelled.

ISCSI_LOGIN_FATAL = 20
ISCSI_LOGOUT_FAILED = 21
ISCSI_NO_FIRMWARE = 22
ISCSI_NO_OBJECTS_FOUND = 23
ISCSI_NOT_CONNECTED = 24
ISCSI_TRANSPORT_FAILED = 25
ISCSI_UNKNOWN_DISCOVERY_TYPE = 26
NOT_AUTHORIZED = 3

Not authorized to perform the requested operation.

NOT_AUTHORIZED_CAN_OBTAIN = 4

Like UDisks.Error.NOT_AUTHORIZED but authorization can be obtained through e.g. authentication.

NOT_AUTHORIZED_DISMISSED = 5

Like UDisks.Error.NOT_AUTHORIZED but an authentication was shown and the user dismissed it.

ALREADY_MOUNTED = 6

The device is already mounted.

NOT_MOUNTED = 7

The device is not mounted.

OPTION_NOT_PERMITTED = 8

Not permitted to use the requested option.

MOUNTED_BY_OTHER_USER = 9

The device is mounted by another user.