Enum ethers_flashbots::RelayError [−][src]
pub enum RelayError<S: Signer> {
RequestError(ReqwestError),
JsonRpcError(JsonRpcError),
ClientError {
text: String,
},
RequestSerdeJson(Error),
SignerError(S::Error),
ResponseSerdeJson {
err: Error,
text: String,
},
}Expand description
Errors for relay requests.
Variants
The request failed.
Tuple Fields of RequestError
0: ReqwestErrorThe request could not be parsed.
The request parameters were invalid.
Fields of ClientError
text: StringThe request could not be serialized.
Tuple Fields of RequestSerdeJson
0: ErrorThe request could not be signed.
Tuple Fields of SignerError
0: S::ErrorThe response could not be deserialized.
Trait Implementations
Performs the conversion.
Performs the conversion.