diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-09-18 12:29:50 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-09-18 12:29:55 -0400 |
| commit | 539d2cd77891ac02c1d467c65d26c880ea154b59 (patch) | |
| tree | 5c9e71a12605e08d1c2cc872f6c5ae88166c9e72 /src/cli.rs | |
| parent | 526067fecf6bafec060d97162a16bc18cd74ad9b (diff) | |
Most pass-through errors do not need additional message text
Diffstat (limited to 'src/cli.rs')
| -rw-r--r-- | src/cli.rs | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -75,11 +75,9 @@ fn started_msg(listener: &net::TcpListener) -> io::Result<String> { } #[derive(Debug, thiserror::Error)] +#[error(transparent)] pub enum Error { - #[error("io error: {0}")] IoError(#[from] io::Error), - #[error("database error: {0}")] DatabaseError(#[from] sqlx::Error), - #[error("database migration error: {0}")] MigrateError(#[from] sqlx::migrate::MigrateError), } |
