diff options
author | FxQnLr <[email protected]> | 2024-03-05 13:16:18 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-05 13:16:18 +0100 |
commit | 8dca7e83519b6c3531653cdedf60b2a14e1035b7 (patch) | |
tree | 0180a452dd354b067470618e6dbdc330649287cb /src/error.rs | |
parent | f0dc13f907a72ffef44f89b5e197567db129b020 (diff) | |
parent | 85c63c2ca8448428e2db93cb9d4f284a4e314ed7 (diff) | |
download | webol-8dca7e83519b6c3531653cdedf60b2a14e1035b7.tar webol-8dca7e83519b6c3531653cdedf60b2a14e1035b7.tar.gz webol-8dca7e83519b6c3531653cdedf60b2a14e1035b7.zip |
Merge pull request #22 from FxQnLr/0.3.3
0.3.3
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/error.rs b/src/error.rs index 513b51b..006fcdb 100644 --- a/src/error.rs +++ b/src/error.rs | |||
@@ -5,10 +5,11 @@ use axum::response::{IntoResponse, Response}; | |||
5 | use axum::Json; | 5 | use axum::Json; |
6 | use mac_address::MacParseError; | 6 | use mac_address::MacParseError; |
7 | use serde_json::json; | 7 | use serde_json::json; |
8 | use utoipa::ToSchema; | ||
8 | use std::io; | 9 | use std::io; |
9 | use tracing::error; | 10 | use tracing::error; |
10 | 11 | ||
11 | #[derive(Debug, thiserror::Error)] | 12 | #[derive(Debug, thiserror::Error, ToSchema)] |
12 | pub enum Error { | 13 | pub enum Error { |
13 | #[error("db: {source}")] | 14 | #[error("db: {source}")] |
14 | Db { | 15 | Db { |