mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 17:26:04 +00:00
Add new ssz error type
This commit is contained in:
@@ -4,6 +4,7 @@ use super::LENGTH_BYTES;
|
|||||||
pub enum DecodeError {
|
pub enum DecodeError {
|
||||||
TooShort,
|
TooShort,
|
||||||
TooLong,
|
TooLong,
|
||||||
|
Invalid,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub trait Decodable: Sized {
|
pub trait Decodable: Sized {
|
||||||
|
|||||||
Reference in New Issue
Block a user