Add some general error codes for future
This commit is contained in:
parent
a0bf40a25c
commit
0fc2f5e76c
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,9 @@ extern crate futures;
|
||||||
#[derive(Debug, PartialEq)]
|
#[derive(Debug, PartialEq)]
|
||||||
pub enum Error {
|
pub enum Error {
|
||||||
CorruptVarint,
|
CorruptVarint,
|
||||||
UnknownElementId
|
UnknownElementId,
|
||||||
|
UnknownElementLength,
|
||||||
|
CorruptPayload,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq)]
|
#[derive(Debug, PartialEq)]
|
||||||
|
|
Loading…
Reference in a new issue