From d32a8b94797b9e39e84eddfab6e231e0478320a7 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 16 Jul 2016 23:34:59 +0200 Subject: [PATCH] Remove error module --- imag-view/src/error.rs | 12 ------------ imag-view/src/main.rs | 1 - 2 files changed, 13 deletions(-) delete mode 100644 imag-view/src/error.rs 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};