diff options
Diffstat (limited to 'src/auth/error.rs')
-rw-r--r-- | src/auth/error.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/auth/error.rs b/src/auth/error.rs index 3a111ca..91aec5c 100644 --- a/src/auth/error.rs +++ b/src/auth/error.rs @@ -9,6 +9,9 @@ pub enum Error { #[error("Failed to parse header: {0} (wrong token type?)")] HeaderRejection(axum_extra::typed_header::TypedHeaderRejection), + #[error("Failed to append header: {0}")] + HeaderMaxSizeReached(#[from] axum::http::header::MaxSizeReached), + #[error("Database error: {0}")] Sqlx(#[from] sqlx::Error), |