Skip to content

Commit 021005f

Browse files
authored
fix ContextError strings (#548)
* fix error strings * changelog
1 parent 8fe5d08 commit 021005f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Fix ContextError Display output ([#547](https://github.com/cosmos/ibc-
2+
rs/issues/547))

crates/ibc/src/core/context.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ use displaydoc::Display;
7272

7373
#[derive(Debug, Display)]
7474
pub enum ContextError {
75-
/// ICS02 Client error
75+
/// ICS02 Client error: {0}
7676
ClientError(ClientError),
77-
/// ICS03 Connection error
77+
/// ICS03 Connection error: {0}
7878
ConnectionError(ConnectionError),
79-
/// Ics04 Channel error
79+
/// Ics04 Channel error: {0}
8080
ChannelError(ChannelError),
81-
/// ICS04 Packet error
81+
/// ICS04 Packet error: {0}
8282
PacketError(PacketError),
8383
}
8484

0 commit comments

Comments
 (0)