Enum cosm_tome::chain::error::ChainError
source · pub enum ChainError {
Show 14 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,
CosmosSdk {
res: ChainResponse,
},
Tendermint(TendermintError),
RPC(TendermintRPCError),
GRPC(CosmosGRPCError),
}Variants§
Denom
ChainId
MissingApiEndpoint
Mnemonic
DerviationPath
Crypto
QueryPath
ProtoEncoding
ProtoDecoding
Simulation
CosmosSdk
Fields
§
res: ChainResponseTendermint(TendermintError)
RPC(TendermintRPCError)
Tendermint RPC client errors
GRPC(CosmosGRPCError)
Cosmos gRPC client errors
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)>
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<ChainError> for TendermintError
impl From<ChainError> for TendermintError
source§fn from(source: ChainError) -> Self
fn from(source: ChainError) -> Self
Converts to this type from the input type.
source§impl From<ChainError> for TxError
impl From<ChainError> for TxError
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.
source§impl From<Error> for ChainError
impl From<Error> for ChainError
source§fn from(source: CosmosGRPCError) -> Self
fn from(source: CosmosGRPCError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
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> 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