Add new ssz error type

This commit is contained in:
Paul Hauner
2018-12-28 19:38:59 +11:00
parent d79d0182a6
commit d0422eed05

View File

@@ -4,6 +4,7 @@ use super::LENGTH_BYTES;
pub enum DecodeError {
TooShort,
TooLong,
Invalid,
}
pub trait Decodable: Sized {