nats-io / nats.rs

Rust client for NATS, the cloud native messaging system.
Apache License 2.0
1.06k stars 167 forks source link

Tracking Async Errors #6

Open derekcollison opened 4 years ago

derekcollison commented 4 years ago

We have some errors that are sync in nature, either from the NATS server or from threaded callbacks for message handlers.

Should we have the notion of last_error() for both NATS system and another for the message handlers that would hang off of SubscriptionHandler?

Jarema commented 2 years ago

This can be closed as err callback was added, agree @derekcollison ?

derekcollison commented 2 years ago

We have async err AFAIK now, but this might still be useful. WDYT?