diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2017-11-11 03:47:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-11 03:47:46 +0100 |
commit | 76050160d43239aee29a4f34ce161bb305ee36fc (patch) | |
tree | 7ac0563bbd255d62a0622d01cbe83bf37b966b4a /src/error.rs | |
parent | f707177fd0897a701c907ec4b0a036982a9a7995 (diff) | |
parent | 2053d956af43d26238f7be9ae6acf0d60b85acad (diff) |
Merge pull request #3 from matthiasbeyer/parser
Parser
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs index 39d482f..653b368 100644 --- a/src/error.rs +++ b/src/error.rs @@ -9,6 +9,7 @@ error_chain! { } foreign_links { + NomError(::nom::simple_errors::Err); } errors { @@ -58,6 +59,11 @@ error_chain! { display("Cannot compare Month to non-Moment TimeType: {:?}", tt_rep) } + UnknownParserError { + description("Unknown parser error") + display("Unknown parser error") + } + } } |