Skip to main content

Module errors

Module errors 

Source
Expand description

Error codes (ERR_AUBE_*).

Each constant’s value matches its identifier. The ALL slice is the registry — it gates the generated docs page (docs/error-codes.md, produced by the generate-error-codes-docs binary) and the self-tests in lib.rs. New codes go in both places: define a pub const, then add a crate::CodeMeta entry to ALL carrying the category, one-line description, and (optional) bespoke exit code.

Modules§

category
Stable category labels that group codes in the generated docs and in EXIT_TABLE’s 10-wide allocation ranges. Public so the docs generator can iterate them in a deterministic order.

Constants§

ALL
Registry of every error code with its category, description, and (optional) bespoke exit code. Walked by the generate-error-codes-docs binary and by the self-tests in lib.rs and exit.rs. New codes must be added here.
ERR_AUBE_BLOCKED_EXOTIC_SUBDEP
ERR_AUBE_BUILD_POLICY_INVALID_VERSION_UNION
ERR_AUBE_BUILD_POLICY_UNSUPPORTED_VALUE
ERR_AUBE_BUILD_POLICY_WILDCARD_WITH_VERSION
ERR_AUBE_COMPLETION_FAILED
ERR_AUBE_FILTER_EMPTY
ERR_AUBE_FILTER_GIT_FAILED
ERR_AUBE_FILTER_GIT_IO
ERR_AUBE_GIT_ERROR
ERR_AUBE_INVALID_PACKAGE_NAME
ERR_AUBE_LINK_FAILED
ERR_AUBE_LOCKFILE_PARSE
ERR_AUBE_LOCKFILE_UNSUPPORTED_FORMAT
ERR_AUBE_MANIFEST_PARSE
ERR_AUBE_MANIFEST_YAML_PARSE
ERR_AUBE_MISSING_PACKAGE_INDEX
ERR_AUBE_MISSING_STORE_FILE
ERR_AUBE_NO_HOME
ERR_AUBE_NO_LOCKFILE
ERR_AUBE_NO_MATCHING_VERSION
ERR_AUBE_NO_MATURE_MATCHING_VERSION
ERR_AUBE_NPM_ONLY_COMMAND
ERR_AUBE_OFFLINE
ERR_AUBE_PACKAGE_NOT_FOUND
ERR_AUBE_PATCHES_TRACKING_WRITE
ERR_AUBE_PATCH_FAILED
ERR_AUBE_PEER_CONTEXT_NOT_CONVERGED
ERR_AUBE_PKG_CONTENT_MISMATCH
ERR_AUBE_RECURSIVE_NOT_SUPPORTED
ERR_AUBE_REGISTRY_ERROR
ERR_AUBE_REGISTRY_WRITE_REJECTED
ERR_AUBE_REMOVE_PRIOR_INSTALL_DIR
ERR_AUBE_SCRIPT_NON_ZERO_EXIT
ERR_AUBE_SCRIPT_SPAWN
ERR_AUBE_TARBALL_EXTRACT
ERR_AUBE_TARBALL_INTEGRITY
ERR_AUBE_TRUST_DOWNGRADE
ERR_AUBE_TRUST_EXCLUDE_INVALID_VERSION_UNION
ERR_AUBE_TRUST_EXCLUDE_NAME_GLOB_WITH_VERSIONS
ERR_AUBE_TRUST_MISSING_TIME
ERR_AUBE_UNAUTHORIZED
ERR_AUBE_UNKNOWN_CATALOG
ERR_AUBE_UNKNOWN_CATALOG_ENTRY
ERR_AUBE_UNKNOWN_COMMAND
ERR_AUBE_UNSAFE_INDEX_KEY
ERR_AUBE_UNSAFE_SHEBANG_INTERPRETER
ERR_AUBE_UNSUPPORTED_ENGINE
ERR_AUBE_VERSION_NOT_FOUND
ERR_AUBE_WORKSPACE_PARSE