derekcollison/nats — Issue #32: Differentiate between errors that close the connection & not
Author: pmenglund
Created: 2012-01-31 18:01:05+00:00
State: open

There is no difference between a NATS::ServerError that closes the connection (like AUTH_REQUIRED) and one that keeps the connection open - this makes it hard to deal with this on the client side.

It would be nice to have something like NATS::ServerError::Fatal that means the client has to retry the connection.