Docs.rs
  • ibc-relayer-0.19.0
    • ibc-relayer 0.19.0
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • romac
    • greg-szabo
    • andynog
    • adizere
    • hu55a1n1
    • ljoss17
    • ibcbot
    • Dependencies
      • anyhow ^1.0 normal
      • async-stream ^0.3.3 normal
      • bech32 ^0.9.1 normal
      • bitcoin ^0.29.1 normal
      • bytes ^1.2.1 normal
      • crossbeam-channel ^0.5.5 normal
      • dirs-next ^2.0.0 normal
      • flex-error ^0.4.4 normal
      • futures ^0.3.23 normal
      • hdpath ^0.6.1 normal
      • hex ^0.4 normal
      • http ^0.2.8 normal
      • humantime ^2.1.0 normal
      • humantime-serde ^1.1.1 normal
      • ibc ^0.19.0 normal
      • ibc-proto ^0.20.1 normal
      • ibc-telemetry ^0.19.0 normal
      • itertools ^0.10.3 normal
      • k256 ^0.11.4 normal
      • moka ^0.9.1 normal
      • num-bigint ^0.4 normal
      • num-rational ^0.4.1 normal
      • prost ^0.11 normal
      • regex ^1.5.5 normal
      • retry ^1.3.1 normal
      • ripemd ^0.1.1 normal
      • semver ^1.0 normal
      • serde ^1.0 normal
      • serde_derive ^1.0 normal
      • serde_json ^1 normal
      • sha2 ^0.10.2 normal
      • signature ^1.6.0 normal
      • subtle-encoding ^0.5 normal
      • tendermint =0.23.9 normal
      • tendermint-light-client =0.23.9 normal
      • tendermint-light-client-verifier =0.23.9 normal
      • tendermint-proto =0.23.9 normal
      • tendermint-rpc =0.23.9 normal
      • thiserror ^1.0.32 normal
      • tiny-bip39 ^1.0.0 normal
      • tiny-keccak ^2.0.2 normal
      • tokio ^1.0 normal
      • toml ^0.5 normal
      • tonic ^0.8 normal
      • tracing ^0.1.36 normal
      • uuid ^1.1.2 normal
      • env_logger ^0.9.0 dev
      • ibc ^0.19.0 dev
      • serial_test ^0.9.0 dev
      • tendermint-testgen =0.23.9 dev
      • test-log ^0.2.10 dev
      • tracing-subscriber ^0.3.14 dev
    • Versions
    • 14.5% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Module sdk_error

  • Structs
  • Enums
  • Functions
logo
Change settings

Module ibc_relayer::sdk_error

source · [−]

Structs

ChannelStateVerificationFailedSubdetail
ClientConsensusStateVerificationFailedSubdetail
ClientError
ClientStateVerificationFailedSubdetail
ClientSubdetail
ClientTypeNotFoundSubdetail
CommitmentRootNotFoundSubdetail
ConnectionStateVerificationFailedSubdetail
ConsensusStateNotFoundSubdetail
FrozenLightClientSubdetail
InactiveClientSubdetail
InsufficientFeeSubdetail
InvalidClientHeaderSubdetail
InvalidClientMetadataSubdetail
InvalidClientStateSubstituteSubdetail
InvalidClientTypeSubdetail
InvalidClientUpgradeSubdetail
InvalidConsensusStateSubdetail
InvalidHeightSubdetail
InvalidLightClientMisbehaviorSubdetail
InvalidLightClientSubdetail
InvalidUpdateClientProposalSubdetail
InvalidUpgradeProposalSubdetail
LightClientAlreadyExistsSubdetail
LightClientNotFoundSubdetail
NextSequenceReceiveVerificationFailedSubdetail
OutOfGasSubdetail
PacketAcknowledgementVerificationFailedSubdetail
PacketCommitmentVerificationFailedSubdetail
PacketReceiptVerificationFailedSubdetail
SdkError
SelfConsensusStateNotFoundSubdetail
UnexpectedOkSubdetail
UnknownClientSubdetail
UnknownSdkSubdetail
UnknownTxSyncSubdetail
UpdateLightClientFailedSubdetail

Enums

ClientErrorDetail
SdkErrorDetail

Functions

sdk_error_from_tx_result
sdk_error_from_tx_sync_error_code

Converts error codes originating from broadcast_tx_sync responses into IBC relayer domain-type errors. See tendermint_rpc::endpoint::broadcast::tx_sync::Response. Cf: https://github.com/cosmos/cosmos-sdk/blob/v0.42.10/types/errors/errors.go