Snapd.Error – snapd-glib Reference Manual
Error
Description:
[
CCode
( cprefix =
"SNAPD_ERROR_"
) ]
[
Version
( since =
"1.0"
) ]
public
errordomain
Error
Error codes returned by snapd operations.
Namespace:
Snapd
Package:
snapd-glib
Content:
Error codes:
ALREADY_INSTALLED
-
the requested snap is already installed.
AUTH_CANCELLED
-
authentication was cancelled by the user.
AUTH_DATA_INVALID
-
the provided authorization data is invalid.
AUTH_DATA_REQUIRED
-
the requested operation requires authorization data.
BAD_QUERY
-
a bad query was provided.
BAD_REQUEST
-
snapd did not understand the request that was sent.
BAD_RESPONSE
-
the response received from snapd was not understood.
CHANNEL_NOT_AVAILABLE
-
requested snap channel not available.
CONNECTION_FAILED
-
not able to connect to snapd.
DNS_FAILURE
-
A hostname failed to resolve during the request.
FAILED
-
an unspecified error occurred while communicating with snapd.
NEEDS_CLASSIC
-
this snap needs to be installed using classic mode.
NEEDS_CLASSIC_SYSTEM
-
a classic system is required to install this snap.
NEEDS_DEVMODE
-
this snap needs to be installed using devmode.
NETWORK_TIMEOUT
-
A timeout occurred during the request.
NOT_A_SNAP
-
the given snap or directory does not look like a snap.
NOT_CLASSIC
-
snap not compatible with classic mode.
NOT_FOUND
-
the requested snap couldn't be found.
NOT_INSTALLED
-
the requested snap is not installed.
NOT_IN_STORE
-
the requested snap is not in the store.
NO_UPDATE_AVAILABLE
-
no update is available for this snap.
OPTION_NOT_FOUND
-
A requested configuration option is not set.
PASSWORD_POLICY_ERROR
-
provided password is not valid.
PAYMENT_DECLINED
-
this user has had their payment method declined by the payment provider.
PAYMENT_NOT_SETUP
-
this user has not configured a payment method.
PERMISSION_DENIED
-
this user account is not permitted to perform the requested operation.
READ_FAILED
-
an error occurred while reading from snapd.
REVISION_NOT_AVAILABLE
-
requested snap revision not available.
TERMS_NOT_ACCEPTED
-
this user has not accepted the store's terms of service.
TWO_FACTOR_INVALID
-
the two factor code provided at login is invalid.
TWO_FACTOR_REQUIRED
-
login requires a two factor code.
WRITE_FAILED
-
an error occurred while writing to snapd.
Static methods:
public
static
Quark
quark
()
Gets the Snapd Error Quark.
2022 vala-language.org