This commit is contained in:
alexisvisco 2019-03-27 15:46:45 +01:00
parent 3061d33062
commit 306a0979b2
3 changed files with 9 additions and 2 deletions

View file

@ -5,7 +5,12 @@ import (
)
var (
ErrClosed = errors.New("sonic connection is closed")
// ErrClosed is throw when an error with the sonic server
// come from the state of the connection.
ErrClosed = errors.New("sonic connection is closed")
// ErrChanName is throw when the channel name is not supported
// by sonic server.
ErrChanName = errors.New("invalid channel name")
)