Expand description
Error types and result aliases.
Enums§
- Gloves
Error - Top-level application errors.
- Validation
Error - Validation failures for identifiers.
Constants§
- ERROR_
CODE_ ALREADY_ EXISTS - Resource already exists.
- ERROR_
CODE_ EXPIRED - Resource expired.
- ERROR_
CODE_ FORBIDDEN - Operation is blocked by policy.
- ERROR_
CODE_ GPG_ DENIED - Human backend GPG/pass denied access.
- ERROR_
CODE_ INTEGRITY - Integrity check failed.
- ERROR_
CODE_ INTERNAL - Internal serialization/crypto/encoding failure.
- ERROR_
CODE_ INVALID_ INPUT - Generic invalid-input error.
- ERROR_
CODE_ IO - Filesystem or stream I/O failed.
- ERROR_
CODE_ MISSING_ RUNTIME - Missing runtime dependency or binary.
- ERROR_
CODE_ NOT_ FOUND - Resource lookup failed.
- ERROR_
CODE_ REQUEST_ ID - Request identifier validation error.
- ERROR_
CODE_ SECRET_ ID - Secret identifier validation error.
- ERROR_
CODE_ UNAUTHORIZED - Caller identity is not authorized.
Functions§
- classify_
error_ code - Returns the stable error code for a runtime error.
- explain_
error_ code - Returns an explanation block for a known error code.
- known_
error_ codes - Stable list of explainable error codes.
- normalize_
error_ code - Normalizes a user-provided error code for lookups.
Type Aliases§
- Result
- A typed result used across the crate.