imag/libimagentryview/src/error.rs

14 lines
481 B
Rust
Raw Normal View History

generate_error_module!(
generate_error_types!(ViewError, ViewErrorKind,
2016-07-16 21:36:23 +00:00
Unknown => "Unknown view error",
GlobError => "Error while glob()ing",
PatternError => "Error in glob() pattern",
2016-08-06 14:54:05 +00:00
PatternBuildingError => "Could not build glob() pattern",
ViewError => "Failed to start viewer"
);
);
2016-04-18 17:51:51 +00:00
pub use self::error::ViewError;
pub use self::error::ViewErrorKind;
pub use self::error::MapErrInto;