diff --git a/src/lib.rs b/src/lib.rs
index 75b6e41..a13d7c2 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -3,7 +3,8 @@ extern crate futures;
#[derive(Debug, PartialEq)]
pub enum Error {
- CorruptVarint
+ CorruptVarint,
+ UnknownElementId
}
#[derive(Debug, PartialEq)]
@@ -63,12 +64,39 @@ pub fn decode_varint(bytes: &[u8]) -> Result