diff options
Diffstat (limited to 'src/message/app.rs')
| -rw-r--r-- | src/message/app.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/message/app.rs b/src/message/app.rs index 3385af2..c1bcde6 100644 --- a/src/message/app.rs +++ b/src/message/app.rs @@ -98,7 +98,7 @@ pub enum SendError { #[error("channel {0} not found")] ChannelNotFound(channel::Id), #[error(transparent)] - DatabaseError(#[from] sqlx::Error), + Database(#[from] sqlx::Error), } #[derive(Debug, thiserror::Error)] @@ -108,5 +108,5 @@ pub enum DeleteError { #[error("message {0} not found")] NotFound(Id), #[error(transparent)] - DatabaseError(#[from] sqlx::Error), + Database(#[from] sqlx::Error), } |
