maili_protocol/info/
errors.rsuse alloc::string::String;
#[derive(Debug, thiserror::Error, Copy, Clone)]
pub enum BlockInfoError {
#[error("Failed to parse the L1 blob base fee scalar")]
L1BlobBaseFeeScalar,
#[error("Failed to parse the base fee scalar")]
BaseFeeScalar,
#[error("Failed to parse the EIP-1559 denominator")]
Eip1559Denominator,
#[error("Failed to parse the EIP-1559 elasticity parameter")]
Eip1559Elasticity,
}
#[derive(Debug, thiserror::Error)]
pub enum DecodeError {
#[error("Invalid L1 info transaction selector")]
InvalidSelector,
#[error("Parse error: {0}")]
ParseError(String),
#[error("Invalid data length: {0}")]
InvalidLength(String),
}