nats.rs
nats.rs copied to clipboard
Generalize handling of terminal status codes
- In
Client::request
, you get access to the message and can easily check the status of it so this is no longer an error. - The implicit handling is moved to
Context::request
instead, and is applied to all status codes representing server errors.