sp1_cc_client_executor/
errors.rs

1use thiserror::Error;
2
3/// Error types for the client library.
4#[derive(Error, Debug)]
5pub enum ClientError {
6    #[error("ABI error: {0}")]
7    ABI(#[from] alloy_sol_types::Error),
8
9    #[error("RSP error: {0}")]
10    RSP(#[from] rsp_client_executor::error::ClientError),
11
12    #[error("The logs weren't prefetched")]
13    LogsNotPrefetched,
14
15    #[error("The provided chain config is invalid")]
16    InvalidChainConfig,
17}