Skip to main content

Module error

Module error 

Source
Expand description

Internal OIDC/JWT/session errors for the auth subsystem.

This AuthError carries diagnostic detail for the middleware/handler layer (JWT parse reasons, OIDC metadata failures, PKCE state errors). It is never exposed directly to clients — the IntoResponse impl in middleware.rs always returns a generic user-facing message and logs the internal reason. It composes into the canonical fraiseql_error::FraiseQLError::Auth via the From impl at the bottom of this file (sqlx pattern).

Enums§

AuthError
All errors that can arise in the authentication and authorization layer.

Type Aliases§

Result
Convenience alias for Result<T, AuthError>.