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 daemon transport communication failed.

ISCSI_HOST_NOT_FOUND = 16

iSCSI host not found.

ISCSI_IDMB = 17

iSCSI initiator database error.

ISCSI_LOGIN_FAILED = 18

iSCSI login failed.

ISCSI_LOGIN_AUTH_FAILED = 19

iSCSI login authentication failed.

ALREADY_CANCELLED = 2

The operation has already been cancelled.

ISCSI_LOGIN_FATAL = 20

iSCSI login fatal error.

ISCSI_LOGOUT_FAILED = 21

iSCSI logout failed.

ISCSI_NO_FIRMWARE = 22

iSCSI firmware not found.

ISCSI_NO_OBJECTS_FOUND = 23

No iSCSI objects found.

ISCSI_NOT_CONNECTED = 24

iSCSI not connected.

ISCSI_TRANSPORT_FAILED = 25

iSCSI transport failed.

ISCSI_UNKNOWN_DISCOVERY_TYPE = 26

Unknown iSCSI discovery type.

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.