summaryrefslogtreecommitdiffstats
path: root/src/auth/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/auth/error.rs')
-rw-r--r--src/auth/error.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/auth/error.rs b/src/auth/error.rs
index 17cf6d1..8b1bb4c 100644
--- a/src/auth/error.rs
+++ b/src/auth/error.rs
@@ -33,6 +33,9 @@ pub enum Error {
#[error("Authorization token not found")]
JwtNotFound,
+ #[error("Token found was invalid type")]
+ InvalidTokenType,
+
#[error("The user belonging to this token no longer exists")]
UserNotFound,
}