2016-03-26 13:41:34 +00:00
|
|
|
use std::error::Error;
|
|
|
|
use std::fmt::Error as FmtError;
|
|
|
|
use std::fmt::{Display, Formatter};
|
|
|
|
|
2016-05-15 14:53:31 +00:00
|
|
|
generate_error_types!(ListError, ListErrorKind,
|
|
|
|
FormatError => "FormatError",
|
|
|
|
EntryError => "EntryError",
|
|
|
|
IterationError => "IterationError",
|
|
|
|
CLIError => "No CLI subcommand for listing entries"
|
|
|
|
);
|
2016-03-26 13:41:34 +00:00
|
|
|
|