diff options
author | Toby Vincent <tobyv@tobyvin.dev> | 2024-05-07 12:34:50 -0500 |
---|---|---|
committer | Toby Vincent <tobyv@tobyvin.dev> | 2024-05-07 12:34:50 -0500 |
commit | 1dbe3776c682f469d1497247fac22f0aa233a598 (patch) | |
tree | 6edbeae2f431b76066d9679525da15415042cbc2 /src/auth/error.rs | |
parent | aac78e11339db945f3bb81ad40bc71d021bcd754 (diff) |
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), |