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

Generalize handling of terminal status codes

Open caspervonb opened this issue 2 years ago • 0 comments

  • 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.

caspervonb avatar Jun 14 '22 01:06 caspervonb