imag/libimagentryview/src/error.rs
2016-08-06 19:13:45 +02:00

13 lines
481 B
Rust

generate_error_module!(
generate_error_types!(ViewError, ViewErrorKind,
Unknown => "Unknown view error",
GlobError => "Error while glob()ing",
PatternError => "Error in glob() pattern",
PatternBuildingError => "Could not build glob() pattern",
ViewError => "Failed to start viewer"
);
);
pub use self::error::ViewError;
pub use self::error::ViewErrorKind;
pub use self::error::MapErrInto;