Add new ssz error type

This commit is contained in:
Paul Hauner 2018-12-28 19:38:59 +11:00
parent d79d0182a6
commit d0422eed05
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C

View File

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