2016-05-19 15:11:18 +00:00
|
|
|
generate_error_module!(
|
|
|
|
generate_error_types!(CounterError, CounterErrorKind,
|
|
|
|
StoreReadError => "Store read error",
|
|
|
|
StoreWriteError => "Store write error",
|
|
|
|
HeaderTypeError => "Header type error",
|
|
|
|
HeaderFieldMissingError => "Header field missing error"
|
|
|
|
);
|
2016-05-15 14:53:31 +00:00
|
|
|
);
|
2016-02-13 18:51:52 +00:00
|
|
|
|
2016-05-19 15:11:18 +00:00
|
|
|
pub use self::error::CounterError;
|
|
|
|
pub use self::error::CounterErrorKind;
|
|
|
|
|