Enum ibc_testkit::relayer::error::RelayerError
source · pub enum RelayerError {
ClientStateNotFound {
client_id: ClientId,
},
ClientAlreadyUpToDate {
client_id: ClientId,
source_height: Height,
destination_height: Height,
},
ClientAtHigherHeight {
client_id: ClientId,
source_height: Height,
destination_height: Height,
},
TransactionFailed(ContextError),
Connection(ConnectionError),
}Variants§
ClientStateNotFound
Fields
§
client_id: ClientIdclient state on destination chain not found, (client id: {client_id})
ClientAlreadyUpToDate
the client on destination chain is already up-to-date (client id: {client_id}, source height: {source_height}, dest height: {destination_height})
ClientAtHigherHeight
the client on destination chain is at a higher height (client id: {client_id}, source height: {source_height}, dest height: {destination_height})
TransactionFailed(ContextError)
transaction processing by modules failed error: {0}
Connection(ConnectionError)
connection error: {0}
Trait Implementations§
source§impl Debug for RelayerError
impl Debug for RelayerError
source§impl Display for RelayerError
impl Display for RelayerError
source§impl Error for RelayerError
impl Error for RelayerError
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()
Auto Trait Implementations§
impl RefUnwindSafe for RelayerError
impl Send for RelayerError
impl Sync for RelayerError
impl Unpin for RelayerError
impl UnwindSafe for RelayerError
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