Enum ethers_etherscan::errors::EtherscanError
source · pub enum EtherscanError {
Show 21 variants
ChainNotSupported(Chain),
ExecutionFailed(String),
BalanceFailed,
TransactionReceiptFailed,
GasEstimationFailed,
BadStatusCode(String),
EnvVarNotFound(VarError),
Reqwest(Error),
Serde(Error),
ContractCodeNotVerified(Address),
RateLimitExceeded,
IO(Error),
LocalNetworksNotSupported,
ErrorResponse {
status: String,
message: String,
result: Option<String>,
},
Unknown(String),
Builder(String),
MissingSolcVersion(String),
InvalidApiKey,
BlockedByCloudflare,
CloudFlareSecurityChallenge,
PageNotFound,
}
Variants§
ChainNotSupported(Chain)
ExecutionFailed(String)
BalanceFailed
TransactionReceiptFailed
GasEstimationFailed
BadStatusCode(String)
EnvVarNotFound(VarError)
Reqwest(Error)
Serde(Error)
ContractCodeNotVerified(Address)
RateLimitExceeded
IO(Error)
LocalNetworksNotSupported
ErrorResponse
Unknown(String)
Builder(String)
MissingSolcVersion(String)
InvalidApiKey
BlockedByCloudflare
CloudFlareSecurityChallenge
PageNotFound
Trait Implementations§
source§impl Debug for EtherscanError
impl Debug for EtherscanError
source§impl Display for EtherscanError
impl Display for EtherscanError
source§impl Error for EtherscanError
impl Error for EtherscanError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()