Skip to content

Commit

Permalink
New error kind
Browse files Browse the repository at this point in the history
  • Loading branch information
iduartgomez committed Dec 15, 2023
1 parent 9b8ff58 commit 7729fe3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust/src/client_api/client_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ pub enum ErrorKind {
UnknownClient(usize),
#[error(transparent)]
RequestError(#[from] RequestError),
#[error("error while executing operation in the network: {cause}")]
OperationError { cause: Cow<'static, str> },
#[error("peer should shutdown")]
Shutdown,
}
Expand Down

0 comments on commit 7729fe3

Please sign in to comment.