diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-10-16 20:14:33 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-10-16 20:14:33 -0400 |
| commit | ea74daca4809e4008dd8d01039db9fff3be659d9 (patch) | |
| tree | 5972cabf646e8d5e635e9e2a176bff56c178461a /src/message/app.rs | |
| parent | 56e16e29db55dae84549229d24b971f8bcf7da21 (diff) | |
Organizational pass on endpoints and routes.
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), } |
