Gjsify LogoGjsify Logo

Error codes returned by snapd operations.

Index

Enumeration Members

ALREADY_INSTALLED: number

the requested snap is already installed.

AUTH_CANCELLED: number

authentication was cancelled by the user.

AUTH_DATA_INVALID: number

the provided authorization data is invalid.

AUTH_DATA_REQUIRED: number

the requested operation requires authorization data.

BAD_QUERY: number

a bad query was provided.

BAD_REQUEST: number

snapd did not understand the request that was sent.

BAD_RESPONSE: number

the response received from snapd was not understood.

CHANNEL_NOT_AVAILABLE: number

requested snap channel not available.

CONNECTION_FAILED: number

not able to connect to snapd.

DNS_FAILURE: number

A hostname failed to resolve during the request.

FAILED: number

an unspecified error occurred while communicating with snapd.

NEEDS_CLASSIC: number

this snap needs to be installed using classic mode.

NEEDS_CLASSIC_SYSTEM: number

a classic system is required to install this snap.

NEEDS_DEVMODE: number

this snap needs to be installed using devmode.

NETWORK_TIMEOUT: number

A timeout occurred during the request.

NOT_A_SNAP: number

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

NOT_CLASSIC: number

snap not compatible with classic mode.

NOT_FOUND: number

the requested snap couldn't be found.

NOT_INSTALLED: number

the requested snap is not installed.

NOT_IN_STORE: number

the requested snap is not in the store.

NO_UPDATE_AVAILABLE: number

no update is available for this snap.

OPTION_NOT_FOUND: number

A requested configuration option is not set.

PASSWORD_POLICY_ERROR: number

provided password is not valid.

PAYMENT_DECLINED: number

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

PAYMENT_NOT_SETUP: number

this user has not configured a payment method.

PERMISSION_DENIED: number

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

READ_FAILED: number

an error occurred while reading from snapd.

REVISION_NOT_AVAILABLE: number

requested snap revision not available.

TERMS_NOT_ACCEPTED: number

this user has not accepted the store's terms of service.

TWO_FACTOR_INVALID: number

the two factor code provided at login is invalid.

TWO_FACTOR_REQUIRED: number

login requires a two factor code.

WRITE_FAILED: number

an error occurred while writing to snapd.

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