diff --git a/src/lib.rs b/src/lib.rs index a13d7c2..1bb9596 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,9 @@ extern crate futures; #[derive(Debug, PartialEq)] pub enum Error { CorruptVarint, - UnknownElementId + UnknownElementId, + UnknownElementLength, + CorruptPayload, } #[derive(Debug, PartialEq)]