summaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-03-12 12:31:49 +0200
committerLars Wirzenius <liw@liw.fi>2021-03-12 12:32:47 +0200
commit989b50a633ad285b86c3549ea9ac6f62c0a13273 (patch)
treefdc9a7ebf3c689ec4377f4dc237dbea8a46a3355 /src/error.rs
parent0fcb8f314a054e4c92e49461f1ae2d9392756638 (diff)
downloadobnam2-989b50a633ad285b86c3549ea9ac6f62c0a13273.tar.gz
feat: handle files in directories that can be read but not executed
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/error.rs b/src/error.rs
index 73d4a66..a905458 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -5,11 +5,10 @@ use crate::generation::{LocalGenerationError, NascentError};
use crate::genlist::GenerationListError;
use std::time::SystemTimeError;
use tempfile::PersistError;
-use thiserror::Error;
/// Define all the kinds of errors that functions corresponding to
/// subcommands of the main program can return.
-#[derive(Debug, Error)]
+#[derive(Debug, thiserror::Error)]
pub enum ObnamError {
#[error(transparent)]
GenerationListError(#[from] GenerationListError),