Enum ethers_etherscan::errors::EtherscanError
source · pub enum EtherscanError {
Show 25 variants
ChainNotSupported(Chain),
ExecutionFailed(String),
BalanceFailed,
BlockNumberByTimestampFailed,
TransactionReceiptFailed,
GasEstimationFailed,
EthSupplyFailed,
BadStatusCode(String),
EnvVarNotFound(VarError),
Reqwest(Error),
Serde(Error),
ContractCodeNotVerified(Address),
EmptyResult {
status: String,
message: String,
},
RateLimitExceeded,
IO(Error),
LocalNetworksNotSupported,
ErrorResponse {
status: String,
message: String,
result: Option<String>,
},
Unknown(String),
Builder(String),
MissingSolcVersion(String),
InvalidApiKey,
BlockedByCloudflare,
SecurityChallenge(Url),
CloudFlareSecurityChallenge,
PageNotFound,
}
Variants§
ChainNotSupported(Chain)
ExecutionFailed(String)
BalanceFailed
BlockNumberByTimestampFailed
TransactionReceiptFailed
GasEstimationFailed
EthSupplyFailed
BadStatusCode(String)
EnvVarNotFound(VarError)
Reqwest(Error)
Serde(Error)
ContractCodeNotVerified(Address)
EmptyResult
RateLimitExceeded
IO(Error)
LocalNetworksNotSupported
ErrorResponse
Unknown(String)
Builder(String)
MissingSolcVersion(String)
InvalidApiKey
BlockedByCloudflare
SecurityChallenge(Url)
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()
source§impl From<Error> for EtherscanError
impl From<Error> for EtherscanError
source§impl From<Error> for EtherscanError
impl From<Error> for EtherscanError
source§impl From<Error> for EtherscanError
impl From<Error> for EtherscanError
Auto Trait Implementations§
impl !RefUnwindSafe for EtherscanError
impl Send for EtherscanError
impl Sync for EtherscanError
impl Unpin for EtherscanError
impl !UnwindSafe for EtherscanError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more