nats.rs icon indicating copy to clipboard operation
nats.rs copied to clipboard

Tracking Async Errors

Open derekcollison opened this issue 5 years ago • 2 comments

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?

derekcollison avatar Mar 02 '20 20:03 derekcollison

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

Jarema avatar Jan 03 '22 14:01 Jarema

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

derekcollison avatar Jan 03 '22 16:01 derekcollison