diff options
author | Santo Cariotti <santo@dcariotti.me> | 2024-08-20 21:11:43 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2024-08-20 21:11:43 +0200 |
commit | c2b09dbb88591d9695c1cd2227c5d559b4a8e775 (patch) | |
tree | 8773ae641ea61c90024c3e7b5dd184dbf6a3cbab /src/errors.rs | |
parent | 3c8b004d6ecb6764cd5bc935aaeaf884040320ab (diff) |
Add state for database
Diffstat (limited to 'src/errors.rs')
-rw-r--r-- | src/errors.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/errors.rs b/src/errors.rs index e0a70b5..fafe0b0 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -6,6 +6,7 @@ use axum::{ use serde_json::json; /// All errors raised by the web app +#[derive(Debug)] pub enum AppError { /// Database error Database, |