oidc-provider.error
Error type hierarchy for classifying OAuth2/OIDC errors.
Defines a keyword hierarchy using derive so that Ring handlers can dispatch on (:type (ex-data e)) via isa? rather than matching on exception message strings. All domain-layer ex-info throws should include a :type key drawn from this hierarchy.
auth-error?
(auth-error? type)Returns true when type is an authentication error (401-level) in the hierarchy.
hierarchy
Keyword hierarchy for OAuth2/OIDC error types.
::request-error covers client-side request problems (400-level). ::auth-error covers authentication/authorization failures (401-level).
request-error?
(request-error? type)Returns true when type is a request error (400-level) in the hierarchy.