mirror of
https://github.com/bspeice/kaitai_rust
synced 2024-12-26 06:18:11 -05:00
Extra enum variants
This commit is contained in:
parent
9c3294ebcb
commit
21bc218096
@ -8,7 +8,9 @@ pub enum Needed {
|
||||
#[derive(Debug, PartialEq, Eq, Clone)]
|
||||
pub enum KError<'a> {
|
||||
Incomplete(Needed),
|
||||
Encoding { expected: &'static str },
|
||||
MissingRoot,
|
||||
MissingParent,
|
||||
UnexpectedContents { actual: &'a [u8] },
|
||||
UnknownVariant(u64),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user