diff options
Diffstat (limited to 'src/raw/parser.rs')
-rw-r--r-- | src/raw/parser.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/raw/parser.rs b/src/raw/parser.rs index 8e931a2..97c0bc7 100644 --- a/src/raw/parser.rs +++ b/src/raw/parser.rs @@ -117,11 +117,17 @@ quick_error! { MalformedHeader { description("malformed header") } + InvalidZip(err: ::zip::result::ZipError) { + from() + description("zip error") + display("Archive error: {}", err) + cause(err) + } } } /// A type indicating the parse result. -type ParseResult<T> = Result<T, ParseError>; +pub type ParseResult<T> = Result<T, ParseError>; /// Parse the header of an evtc file. /// |