diff options
author | hozan23 <hozan23@karyontech.net> | 2024-06-22 15:33:24 +0200 |
---|---|---|
committer | hozan23 <hozan23@karyontech.net> | 2024-06-22 15:33:24 +0200 |
commit | 6c793e7ed3f3736e2169976f11e304f288ca6813 (patch) | |
tree | 5ea269f9b0a3148e6fc206ef166900309a0d43dc /jsonrpc/src/error.rs | |
parent | 0a2c0dbc6c1afd56e9db0d93eef1ae05fe81a30b (diff) |
jsonrpc: use `ServerConfig` and `ClientConfig` as the inner field in
`ServerBuilder` and `ClientBuilder`
Diffstat (limited to 'jsonrpc/src/error.rs')
-rw-r--r-- | jsonrpc/src/error.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jsonrpc/src/error.rs b/jsonrpc/src/error.rs index 7083e8a..1b38519 100644 --- a/jsonrpc/src/error.rs +++ b/jsonrpc/src/error.rs @@ -35,6 +35,9 @@ pub enum Error { #[error("Subscription exceeds the maximum buffer size")] SubscriptionBufferFull, + #[error("Subscription closed")] + SubscriptionClosed, + #[error("ClientDisconnected")] ClientDisconnected, |