diff --git a/imag-view/src/error.rs b/imag-view/src/error.rs deleted file mode 100644 index 77c7b95d..00000000 --- a/imag-view/src/error.rs +++ /dev/null @@ -1,12 +0,0 @@ -generate_error_module!( - generate_error_types!(ViewError, ViewErrorKind, - StoreError => "Store error", - NoVersion => "No version specified", - PatternError => "Error in Pattern", - GlobBuildError => "Could not build glob() Argument" - ); -); - -pub use self::error::ViewError; -pub use self::error::ViewErrorKind; - diff --git a/imag-view/src/main.rs b/imag-view/src/main.rs index 65cf5398..3d18a45f 100644 --- a/imag-view/src/main.rs +++ b/imag-view/src/main.rs @@ -35,7 +35,6 @@ use libimagerror::trace::{trace_error, trace_error_exit}; use libimagentryview::builtin::stdout::StdoutViewer; use libimagentryview::viewer::Viewer; -mod error; mod ui; use error::{ViewError, ViewErrorKind};