Ferra.rs / Error Types / unauthorized

unauthorized

Unauthorized

401 Unauthorized

Emitted by Foundry::with_docs_protected(verifier) when an unauthenticated request reaches the docs surface. New in v0.5.0. Emitted by middleware, not through FerraError.

Example RFC 7807 body

{
  "type":   "https://ferra.rs/errors/unauthorized",
  "title":  "Unauthorized",
  "status": 401,
  "detail": "authentication required"
}
← All error types