diff options
| author | rtkay123 <dev@kanjala.com> | 2026-03-29 16:51:09 +0200 |
|---|---|---|
| committer | rtkay123 <dev@kanjala.com> | 2026-03-29 16:51:09 +0200 |
| commit | 3fb3d0214a69017d49c91aa180fb565533edcc54 (patch) | |
| tree | c3618666a7e7c5cbe0f0a4bbf379cc82e4f82e3f /lib/api-config/src/error.rs | |
| parent | ff3b9fbaf400c344cae67ef9bdc9ba7d5f27b976 (diff) | |
| download | warden-3fb3d0214a69017d49c91aa180fb565533edcc54.tar.bz2 warden-3fb3d0214a69017d49c91aa180fb565533edcc54.zip | |
refactor: use api-config to create schema
Diffstat (limited to 'lib/api-config/src/error.rs')
| -rw-r--r-- | lib/api-config/src/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api-config/src/error.rs b/lib/api-config/src/error.rs index 6f7b099..b2dc9ad 100644 --- a/lib/api-config/src/error.rs +++ b/lib/api-config/src/error.rs @@ -2,8 +2,8 @@ use thiserror::Error; #[derive(Error, Debug)] pub enum ConfigurationError { - #[error("data store disconnected")] - Disconnect(#[from] sqlx::Error), + #[error(transparent)] + Database(#[from] sqlx::Error), #[error("the data for key `{0}` is not available")] Redaction(String), #[error("invalid header (expected {expected:?}, found {found:?})")] |
