Rename AuthenticationError::Backend to Database

This commit is contained in:
Xiretza 2024-02-10 20:00:28 +00:00
parent e7a73009ad
commit 8dd283d773

View file

@ -29,8 +29,8 @@ pub enum AuthenticationError {
InvalidToken, InvalidToken,
#[error("Invalid server hash")] #[error("Invalid server hash")]
InvalidServerHash, InvalidServerHash,
#[error("Authentication backend error")] #[error("Database error")]
Backend(#[from] sqlx::Error), Database(#[from] sqlx::Error),
} }
#[derive(Debug)] #[derive(Debug)]