pub enum ChainError {
Show 17 variants
Denom {
name: String,
},
ChainId {
chain_id: String,
},
MissingApiEndpoint {
api_type: String,
},
Mnemonic,
DerviationPath,
Crypto {
message: String,
},
QueryPath {
url: String,
},
ProtoEncoding {
message: String,
},
ProtoDecoding {
message: String,
},
Simulation {
result: Result,
},
TxSearchTimeout {
tx_hash: Hash,
},
TxCommit {
res: String,
},
TxSync {
res: String,
},
TxAsync {
res: String,
},
AbciQuery {
res: AbciQuery,
},
Tendermint(TendermintError),
RPC(TendermintRPCError),
}
Variants§
Denom
ChainId
MissingApiEndpoint
Mnemonic
DerviationPath
Crypto
QueryPath
ProtoEncoding
ProtoDecoding
Simulation
TxSearchTimeout
TxCommit
TxSync
TxAsync
AbciQuery
Tendermint(TendermintError)
RPC(TendermintRPCError)
Trait Implementations§
Source§impl Debug for ChainError
impl Debug for ChainError
Source§impl Display for ChainError
impl Display for ChainError
Source§impl Error for ChainError
impl Error for ChainError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<ChainError> for AccountError
impl From<ChainError> for AccountError
Source§fn from(source: ChainError) -> Self
fn from(source: ChainError) -> Self
Converts to this type from the input type.
Source§impl From<ChainError> for BankError
impl From<ChainError> for BankError
Source§fn from(source: ChainError) -> Self
fn from(source: ChainError) -> Self
Converts to this type from the input type.
Source§impl From<ChainError> for CosmwasmError
impl From<ChainError> for CosmwasmError
Source§fn from(source: ChainError) -> Self
fn from(source: ChainError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ChainError
impl From<Error> for ChainError
Source§fn from(source: TendermintError) -> Self
fn from(source: TendermintError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ChainError
impl From<Error> for ChainError
Source§fn from(source: TendermintRPCError) -> Self
fn from(source: TendermintRPCError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ChainError
impl !RefUnwindSafe for ChainError
impl Send for ChainError
impl Sync for ChainError
impl Unpin for ChainError
impl !UnwindSafe for ChainError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request