ibc-core-router-types 0.57.0

Maintained by `ibc-rs`, encapsulates essential ICS-26 Routing Module data structures and domain types, as specified in the Inter-Blockchain Communication (IBC) protocol. Designed for universal applicability to facilitate development and integration across diverse IBC-enabled projects.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use displaydoc::Display;
use ibc_core_host_types::error::HostError;
use ibc_primitives::prelude::*;

/// Error type for the router module.
#[derive(Debug, Display, derive_more::From)]
pub enum RouterError {
    /// host error: {0}
    Host(HostError),
    /// missing module
    MissingModule,
}

#[cfg(feature = "std")]
impl std::error::Error for RouterError {}