Skip to main content

Module exit

Module exit 

Source
Expand description

Exit codes, in one place.

Git only distinguishes zero from non-zero, but a person reading a CI log or scripting around the tool needs to tell “no key” from “bad format” from “this repository is exposed”. The set is frozen in context/foundation/zalozenia.md §Integracja z git.

Constants§

CONFIG
Configuration or a state conflict: not a git repository, a clash during init, or a dirty working tree during lock.
EXPOSED
status found an exposure — plaintext where ciphertext was expected.
FORMAT
The content is not something this build can read: magic, version, suite, a reserved flag bit, a foreign key or a failed authentication tag.
NO_KEY
The repository key is missing.
SUCCESS
Everything went as asked.
UNDETERMINED
status could not answer the question it was asked.
USAGE
The command line made no sense, or something failed for an unclassified reason.