safe.ec

Exit codes for the application.

author:Joe Joyce <joe@decafjoe.com>
copyright:Copyright (c) Joe Joyce and contributors, 2016-2019.
license:BSD
safe.ec.CANCELED = 10

User canceled the operation.

safe.ec.DECRYPTION_FAILED = 31

Decryption of GPG file failed.

safe.ec.ENCRYPTION_FAILED = 32

Encryption of plaintext file failed.

safe.ec.FILE_ARGUMENT_REQUIRED = 42

Command requires file argument, which was not supplied.

safe.ec.FILE_EXISTS = 41

File to be created already exists.

safe.ec.MISSING_FILE = 40

File is required, but missing.

safe.ec.MISSING_GPG = 30

GPG executable not found on system.

safe.ec.NO_SUCH_ACCOUNT = 21

No account with given name.

safe.ec.NO_SUCH_POLICY = 22

No policy with given name.

safe.ec.NO_SUCH_QUESTION = 23

No policy with given identifier.

safe.ec.PASSWORD_NOT_SET = 101

No password has been set for the account.

safe.ec.SRM_FAILED = 100

Failed to securely delete a plaintext file with sensitive data. (File deleted, but not in a secure manner.)

safe.ec.VALIDATION_ERROR = 20

Generic validation error.