calldata_compressor/errors.rs
1use thiserror::Error;
2
3#[derive(Error, Debug, PartialEq, Eq, Clone)]
4pub enum CompressorError {
5 #[error("Dict not init")]
6 DictNotInit,
7 #[error("Invalid range")]
8 InvalidRange,
9 #[error("Lookup not found")]
10 LookupNotFound,
11 #[error("Unsupported method: `{0}`")]
12 UnsupportedMethod(u8),
13}