Skip to content

Commit

Permalink
Merge pull request #15 from freenet/186548078-op-fixes
Browse files Browse the repository at this point in the history
18654078 - New error kind for client errors
  • Loading branch information
iduartgomez committed Dec 19, 2023
2 parents 9b8ff58 + 7729fe3 commit 0aff12d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust/src/client_api/client_events.rs
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 0aff12d

Please sign in to comment.