1#[derive(Debug, PartialEq, Eq)]
2#[repr(u8)] // repr(u8) is used to ensure that the enum is represented as a single byte in memory.
3pub enum TransactionViewError {
4 ParseError,
5 SanitizeError,
6 AddressLookupMismatch,
7}
89pub type Result<T> = core::result::Result<T, TransactionViewError>;