Error
- class Error
Error codes for library functions.
Methods
Fields
- class Error
- ABORTED
The transaction was aborted (returned
True
in operation-error signal).
- ALREADY_INSTALLED
App/runtime/remote is already installed
- AUTHENTICATION_FAILED
An authentication operation failed, for example, no correct password was supplied. (Since: 1.7.3)
- DIFFERENT_REMOTE
The App/Runtime is already installed, but from a different remote.
- DOWNGRADE
The pulled commit is a downgrade, and a downgrade wasn’t specifically allowed. (Since: 1.0)
- EXPORT_FAILED
Exporting data failed. (Since: 1.0.3)
- INVALID_DATA
Invalid data. (Since: 1.0.3)
- INVALID_NAME
Application, runtime or remote name is invalid. (Since: 1.0.3)
- INVALID_REF
A ref could not be parsed. (Since: 1.0.3)
- NEED_NEW_FLATPAK
The App/Runtime needs a more recent version of flatpak.
- NOT_AUTHORIZED
An operation tried to access a ref, or information about it that it was not authorized. For example, when succesfully authenticating with a server but the user doesn’t have permissions for a private ref. (Since: 1.7.3)
- NOT_CACHED
Cached data was requested, but it was not available. (Since: 1.4.0)
- NOT_INSTALLED
App/runtime is not installed
- ONLY_PULLED
App/runtime was only pulled into the local repository but not installed.
- OUT_OF_SPACE
More disk space needed. (Since: 1.2.0)
- PERMISSION_DENIED
An operation was not allowed by the administrative policy. For example, an app is not allowed to be installed due to not complying with the parental controls policy. (Since: 1.5.1)
- REF_NOT_FOUND
The specified ref was not found. (Since: 1.4.0)
- REMOTE_NOT_FOUND
The specified remote was not found.
- REMOTE_USED
Remote can’t be uninstalled. (Since: 1.0.3)
- RUNTIME_NOT_FOUND
A runtime needed for the app was not found.
- RUNTIME_USED
Runtime can’t be uninstalled. (Since: 1.0.3)
- SETUP_FAILED
Sandbox setup failed. (Since: 1.0.3)
- SKIPPED
The App/Runtime install was skipped due to earlier errors.
- UNTRUSTED
Missing GPG key or signature. (Since: 1.0.3)
- WRONG_USER
An operation is being attempted by the wrong user (such as root operating on a user installation). (Since: 1.2.0)