2016-02-13 18:51:52 +00:00
|
|
|
use std::error::Error;
|
|
|
|
use std::fmt::Error as FmtError;
|
2016-04-16 15:52:51 +00:00
|
|
|
use std::fmt::{Display, Formatter};
|
2016-02-13 18:51:52 +00:00
|
|
|
|
2016-05-15 14:53:31 +00:00
|
|
|
generate_error_types!(CounterError, CounterErrorKind,
|
|
|
|
StoreReadError => "Store read error",
|
|
|
|
StoreWriteError => "Store write error",
|
|
|
|
HeaderTypeError => "Header type error",
|
|
|
|
HeaderFieldMissingError => "Header field missing error"
|
|
|
|
);
|
2016-02-13 18:51:52 +00:00
|
|
|
|