Synchronous methods get notified with an ErrConnection when the connection drops in the middle of an operation, but watches are designed in such a way that they don't have to handle these errors.
Either use a connection state chan or handle reconnections in the package.
Synchronous methods get notified with an ErrConnection when the connection drops in the middle of an operation, but watches are designed in such a way that they don't have to handle these errors.
Either use a connection state chan or handle reconnections in the package.