Expand description
Authentication error type.
AuthError is #[non_exhaustive] — downstream matches must include a
wildcard arm so adding variants (e.g., rate-limit-exceeded, MFA-required)
in later phases is not a breaking change.
Database/driver failures surface as DjogiError::Db(DbError) from the
Postgres substrate, not through AuthError. Provider-internal failures
that aren’t driver errors wrap as AuthError::Provider(...).
Enums§
- Auth
Error - Authentication and authorization failure modes.
Returned by
DjogiAuth::authenticateandDjogiAuth::verify, and re-raised asDjogiError::Authwhen those calls propagate through?inside framework operations.