Enumeration

SnapdError

since: 1.0

Declaration

error-domain Snapd.Error

Description [src]

Error codes returned by snapd operations.

Available since: 1.0

Members

SNAPD_ERROR_CONNECTION_FAILED

Not able to connect to snapd.

  • Value: 0
  • Nickname: connection-failed
  • Available since: 1.0
SNAPD_ERROR_WRITE_FAILED

An error occurred while writing to snapd.

  • Value: 1
  • Nickname: write-failed
  • Available since: 1.0
SNAPD_ERROR_READ_FAILED

An error occurred while reading from snapd.

  • Value: 2
  • Nickname: read-failed
  • Available since: 1.0
SNAPD_ERROR_BAD_REQUEST

Snapd did not understand the request that was sent.

  • Value: 3
  • Nickname: bad-request
  • Available since: 1.0
SNAPD_ERROR_BAD_RESPONSE

The response received from snapd was not understood.

  • Value: 4
  • Nickname: bad-response
  • Available since: 1.0
SNAPD_ERROR_AUTH_DATA_REQUIRED

The requested operation requires authorization data.

  • Value: 5
  • Nickname: auth-data-required
  • Available since: 1.0
SNAPD_ERROR_AUTH_DATA_INVALID

The provided authorization data is invalid.

  • Value: 6
  • Nickname: auth-data-invalid
  • Available since: 1.0
SNAPD_ERROR_TWO_FACTOR_REQUIRED

Login requires a two factor code.

  • Value: 7
  • Nickname: two-factor-required
  • Available since: 1.0
SNAPD_ERROR_TWO_FACTOR_INVALID

The two factor code provided at login is invalid.

  • Value: 8
  • Nickname: two-factor-invalid
  • Available since: 1.0
SNAPD_ERROR_PERMISSION_DENIED

This user account is not permitted to perform the requested operation.

  • Value: 9
  • Nickname: permission-denied
  • Available since: 1.0
SNAPD_ERROR_FAILED

An unspecified error occurred while communicating with snapd.

  • Value: 10
  • Nickname: failed
  • Available since: 1.0
SNAPD_ERROR_TERMS_NOT_ACCEPTED

This user has not accepted the store’s terms of service.

  • Value: 11
  • Nickname: terms-not-accepted
  • Available since: 1.0
SNAPD_ERROR_PAYMENT_NOT_SETUP

This user has not configured a payment method.

  • Value: 12
  • Nickname: payment-not-setup
  • Available since: 1.0
SNAPD_ERROR_PAYMENT_DECLINED

This user has had their payment method declined by the payment provider.

  • Value: 13
  • Nickname: payment-declined
  • Available since: 1.0
SNAPD_ERROR_ALREADY_INSTALLED

The requested snap is already installed.

  • Value: 14
  • Nickname: already-installed
  • Available since: 1.0
SNAPD_ERROR_NOT_INSTALLED

The requested snap is not installed.

  • Value: 15
  • Nickname: not-installed
  • Available since: 1.0
SNAPD_ERROR_NO_UPDATE_AVAILABLE

No update is available for this snap.

  • Value: 16
  • Nickname: no-update-available
  • Available since: 1.0
SNAPD_ERROR_PASSWORD_POLICY_ERROR

Provided password is not valid.

  • Value: 17
  • Nickname: password-policy-error
  • Available since: 1.0
SNAPD_ERROR_NEEDS_DEVMODE

This snap needs to be installed using devmode.

  • Value: 18
  • Nickname: needs-devmode
  • Available since: 1.0
SNAPD_ERROR_NEEDS_CLASSIC

This snap needs to be installed using classic mode.

  • Value: 19
  • Nickname: needs-classic
  • Available since: 1.0
SNAPD_ERROR_NEEDS_CLASSIC_SYSTEM

A classic system is required to install this snap.

  • Value: 20
  • Nickname: needs-classic-system
  • Available since: 1.0
SNAPD_ERROR_BAD_QUERY

A bad query was provided.

  • Value: 21
  • Nickname: bad-query
  • Available since: 1.0
SNAPD_ERROR_NETWORK_TIMEOUT

A timeout occurred during the request.

  • Value: 22
  • Nickname: network-timeout
  • Available since: 1.0
SNAPD_ERROR_NOT_FOUND

The requested snap couldn’t be found.

  • Value: 23
  • Nickname: not-found
  • Available since: 1.0
SNAPD_ERROR_NOT_IN_STORE

The requested snap is not in the store.

  • Value: 24
  • Nickname: not-in-store
  • Available since: 1.0
SNAPD_ERROR_AUTH_CANCELLED

Authentication was cancelled by the user.

  • Value: 25
  • Nickname: auth-cancelled
  • Available since: 1.0
SNAPD_ERROR_NOT_CLASSIC

Snap not compatible with classic mode.

  • Value: 26
  • Nickname: not-classic
  • Available since: 1.0
SNAPD_ERROR_REVISION_NOT_AVAILABLE

Requested snap revision not available.

  • Value: 27
  • Nickname: revision-not-available
  • Available since: 1.0
SNAPD_ERROR_CHANNEL_NOT_AVAILABLE

Requested snap channel not available.

  • Value: 28
  • Nickname: channel-not-available
  • Available since: 1.0
SNAPD_ERROR_NOT_A_SNAP

The given snap or directory does not look like a snap.

  • Value: 29
  • Nickname: not-a-snap
  • Available since: 1.0
SNAPD_ERROR_DNS_FAILURE

A hostname failed to resolve during the request.

  • Value: 30
  • Nickname: dns-failure
  • Available since: 1.0
SNAPD_ERROR_OPTION_NOT_FOUND

A requested configuration option is not set.

  • Value: 31
  • Nickname: option-not-found
  • Available since: 1.0
SNAPD_ERROR_UNSUCCESSFUL

A snapctl command was unsuccessful.

  • Value: 32
  • Nickname: unsuccessful
  • Available since: 1.0
SNAPD_ERROR_APP_NOT_FOUND

The requested app coundn’t be found.

  • Value: 33
  • Nickname: app-not-found
  • Available since: 1.0
SNAPD_ERROR_ARCHITECTURE_NOT_AVAILABLE

No snap revision on specified architecture.

  • Value: 34
  • Nickname: architecture-not-available
  • Available since: 1.0
SNAPD_ERROR_CHANGE_CONFLICT

The requested operation would conflict with currently ongoing change.

  • Value: 35
  • Nickname: change-conflict
  • Available since: 1.0
SNAPD_ERROR_INTERFACES_UNCHANGED

The requested interfaces’ operation would have no effect.

  • Value: 36
  • Nickname: interfaces-unchanged
  • Available since: 1.0
SNAPD_ERROR_ALREADY_RUNNING

An async process is already running.

  • Value: 37
  • Nickname: already-running
  • Available since: 1.0
SNAPD_ERROR_NOT_RUNNING

An async process is not running.

  • Value: 38
  • Nickname: not-running
  • Available since: 1.0

Type functions

snapd_error_quark

Gets the Snapd Error Quark.

since: 1.0