alloy_zksync/provider/l1_communication_error.rs
1/// Enum to describe errors that might occur during L1 -> L2 communication.
2#[derive(Debug, thiserror::Error)]
3pub enum L1CommunicationError {
4 #[error("NewPriorityRequest event log was not found in L1 -> L2 transaction.")]
5 NewPriorityRequestLogNotFound,
6 #[error("Custom L1 -> L2 communication error.")]
7 Custom(&'static str),
8}