13 lines
481 B
Rust
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;
|