Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagate JSON-RPC errors through the Rust subscription #929

Merged
merged 11 commits into from
Jul 19, 2021
Prev Previous commit
Next Next commit
Update rpc/src/client/transport/router.rs
Co-authored-by: Thane Thomson <thane@informal.systems>
  • Loading branch information
romac and thanethomson authored Jul 16, 2021
commit 7fae0e3eaff2ed26ffa099456578bb80182d527e
1 change: 1 addition & 0 deletions rpc/src/client/transport/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ impl Default for SubscriptionRouter {
pub enum PublishResult {
Success,
NoSubscribers,
// All subscriptions for the given query have disconnected.
AllDisconnected(String),
}

Expand Down