2016-05-19 15:11:18 +00:00
|
|
|
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-05-19 15:11:18 +00:00
|
|
|
);
|
2016-05-15 14:53:31 +00:00
|
|
|
);
|
2016-04-18 17:51:51 +00:00
|
|
|
|
2016-05-19 15:11:18 +00:00
|
|
|
pub use self::error::ViewError;
|
|
|
|
pub use self::error::ViewErrorKind;
|
2016-07-16 21:36:40 +00:00
|
|
|
pub use self::error::MapErrInto;
|