matterbridge/vendor/github.com/olahol/melody/errors.go

11 lines
303 B
Go
Raw Normal View History

package melody
import "errors"
var (
ErrClosed = errors.New("melody instance is closed")
ErrSessionClosed = errors.New("session is closed")
ErrWriteClosed = errors.New("tried to write to closed a session")
ErrMessageBufferFull = errors.New("session message buffer is full")
)