mirror of
https://github.com/nitnelave/lldap.git
synced 2023-04-12 14:25:13 +00:00
Better database errors
This commit is contained in:
parent
28b7be0500
commit
cd84aff310
@ -4,7 +4,7 @@ use thiserror::Error;
|
||||
pub enum Error {
|
||||
#[error("Authentication error for `{0}`")]
|
||||
AuthenticationError(String),
|
||||
#[error("Database error")]
|
||||
#[error("Database error: `{0}`")]
|
||||
DatabaseError(#[from] sqlx::Error),
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user