Skip to main content

Module errors

Module errors 

Source
Expand description

JWT error types.

All errors are represented by the JwtError enum which implements std::error::Error, std::fmt::Display and actix_web::ResponseError. Error messages match the echo-jwt (Go implementation) sentinel errors for API-level compatibility.

Enumsยง

JwtError
Unified error type for the JWT middleware.