Enum terra_rust_api::errors::TerraRustAPIError [−][src]
pub enum TerraRustAPIError {
Show 22 variants
ReqwestError(Error),
Terra(String),
TerraLCDResponse(StatusCode, String),
Bech32DecodeErr,
Bech32DecodeExpanded(String, usize, String, usize),
Phrasing,
MissingPhrase,
Implementation,
Conversion {
key: String,
source: Error,
},
ConversionSECP256k1,
ConversionED25519,
ConversionLength(usize),
ConversionLengthED25519Hex(usize),
ConversionPrefixED25519(usize, String),
NoGasOpts,
CoinParseErrV {
parse: String,
source: Error,
},
CoinParseErr(String),
TxResultError(usize, String, String),
GasPriceError(String),
TendermintValidatorSet(u64, u64),
TXNotFound(usize),
Unknown,
}Variants
ReqwestError(Error)Tuple Fields of ReqwestError
0: ErrorTerra(String)Tuple Fields of Terra
0: StringTerraLCDResponse(StatusCode, String)Tuple Fields of TerraLCDResponse
0: StatusCode1: StringFields of Conversion
key: Stringsource: ErrorConversionLength(usize)Tuple Fields of ConversionLength
0: usizeConversionLengthED25519Hex(usize)Tuple Fields of ConversionLengthED25519Hex
0: usizeCoinParseErr(String)Tuple Fields of CoinParseErr
0: StringGasPriceError(String)Tuple Fields of GasPriceError
0: StringTXNotFound(usize)Tuple Fields of TXNotFound
0: usizeTrait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for TerraRustAPIError
impl Send for TerraRustAPIError
impl Sync for TerraRustAPIError
impl Unpin for TerraRustAPIError
impl !UnwindSafe for TerraRustAPIError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more