Gjsify LogoGjsify Logo

Error codes for the %G_DBUS_ERROR error domain.

Index

Enumeration Members

ACCESS_DENIED: number

Security restrictions don't allow doing what you're trying to do.

ADDRESS_IN_USE: number

Can't bind a socket since its address is in use (i.e. EADDRINUSE).

ADT_AUDIT_DATA_UNKNOWN: number

Asked for ADT audit data and it wasn't available.

AUTH_FAILED: number

Authentication didn't work.

BAD_ADDRESS: number

A D-Bus bus address was malformed.

DISCONNECTED: number

The connection is disconnected and you're trying to use it.

FAILED: number

A generic error; "something went wrong" - see the error message for more.

FILE_EXISTS: number

Existing file and the operation you're using does not silently overwrite.

FILE_NOT_FOUND: number

Missing file.

INVALID_ARGS: number

Invalid arguments passed to a method call.

INVALID_FILE_CONTENT: number

A file contains invalid syntax or is otherwise broken.

INVALID_SIGNATURE: number

A type signature is not valid.

IO_ERROR: number

Something went wrong reading or writing to a socket, for example.

LIMITS_EXCEEDED: number

Some limited resource is exhausted.

MATCH_RULE_INVALID: number

The match rule isn't syntactically valid.

MATCH_RULE_NOT_FOUND: number

Tried to remove or modify a match rule that didn't exist.

NAME_HAS_NO_OWNER: number

The bus name you referenced doesn't exist (i.e. no application owns it).

NOT_SUPPORTED: number

Requested operation isn't supported (like ENOSYS on UNIX).

NO_MEMORY: number

There was not enough memory to complete an operation.

NO_NETWORK: number

No network access (probably ENETUNREACH on a socket).

NO_REPLY: number

No reply to a message expecting one, usually means a timeout occurred.

NO_SERVER: number

Unable to connect to server (probably caused by ECONNREFUSED on a socket).

OBJECT_PATH_IN_USE: number

There's already an object with the requested object path.

PROPERTY_READ_ONLY: number

Property you tried to set is read-only. Since 2.42

SELINUX_SECURITY_CONTEXT_UNKNOWN: number

Asked for SELinux security context and it wasn't available.

SERVICE_UNKNOWN: number

The bus doesn't know how to launch a service to supply the bus name you wanted.

SPAWN_CHILD_EXITED: number

While starting a new process, the child exited with a status code.

SPAWN_CHILD_SIGNALED: number

While starting a new process, the child exited on a signal.

SPAWN_CONFIG_INVALID: number

We failed to setup the config parser correctly.

SPAWN_EXEC_FAILED: number

While starting a new process, the exec() call failed.

SPAWN_FAILED: number

While starting a new process, something went wrong.

SPAWN_FILE_INVALID: number

Service file invalid (Name, User or Exec missing).

SPAWN_FORK_FAILED: number

While starting a new process, the fork() call failed.

SPAWN_NO_MEMORY: number

Tried to get a UNIX process ID and it wasn't available.

SPAWN_PERMISSIONS_INVALID: number

Permissions are incorrect on the setuid helper.

SPAWN_SERVICE_INVALID: number

Bus name was not valid.

SPAWN_SERVICE_NOT_FOUND: number

Service file not found in system-services directory.

SPAWN_SETUP_FAILED: number

We failed to setup the environment correctly.

TIMED_OUT: number

Certain timeout errors, e.g. while starting a service. Warning: this is confusingly-named given that %G_DBUS_ERROR_TIMEOUT also exists. We can't fix it for compatibility reasons so just be careful.

TIMEOUT: number

Certain timeout errors, possibly ETIMEDOUT on a socket. Note that %G_DBUS_ERROR_NO_REPLY is used for message reply timeouts. Warning: this is confusingly-named given that %G_DBUS_ERROR_TIMED_OUT also exists. We can't fix it for compatibility reasons so just be careful.

UNIX_PROCESS_ID_UNKNOWN: number

Tried to get a UNIX process ID and it wasn't available.

UNKNOWN_INTERFACE: number

Interface you invoked a method on isn't known by the object. Since 2.42

UNKNOWN_METHOD: number

Method name you invoked isn't known by the object you invoked it on.

UNKNOWN_OBJECT: number

Object you invoked a method on isn't known. Since 2.42

UNKNOWN_PROPERTY: number

Property you tried to access isn't known by the object. Since 2.42

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method