Expand description
Error types for codlet-core.
This is the internal error layer (RFC-012/021): structured, useful for
developers and operators, and safe to log because no variant carries a
plaintext secret. The public, enumeration-resistant error layer
(PublicAuthFailure) is introduced with the redemption flow (RFC-012) once
the store traits exist.
Structs§
- Random
Error - Randomness could not be obtained. Generation fails closed on this error; codlet never substitutes a deterministic value (INV-3, SR-29-adjacent).
Enums§
- Code
Input Error - Rejection of user-supplied code input during validation (RFC-003 FR-2).
- KeyError
- A key provider could not supply usable key material.
- Policy
Error - A
crate::code::CodePolicywas constructed with an impossible or unsafe shape (RFC-003 §11.1).