2016-05-19 15:11:18 +00:00
|
|
|
generate_error_module!(
|
|
|
|
generate_error_types!(NoteError, NoteErrorKind,
|
|
|
|
StoreWriteError => "Error writing store",
|
|
|
|
StoreReadError => "Error reading store",
|
|
|
|
HeaderTypeError => "Header type error",
|
|
|
|
NoteToEntryConversion => "Error converting Note instance to Entry instance"
|
|
|
|
);
|
2016-05-15 14:53:31 +00:00
|
|
|
);
|
2016-02-13 17:29:34 +00:00
|
|
|
|
2016-05-19 15:11:18 +00:00
|
|
|
pub use self::error::NoteError;
|
|
|
|
pub use self::error::NoteErrorKind;
|
2016-08-25 17:56:47 +00:00
|
|
|
pub use self::error::MapErrInto;
|
2016-05-19 15:11:18 +00:00
|
|
|
|