matterbridge/vendor/github.com/olahol/melody/errors.go
2023-03-11 18:14:49 +01:00

11 lines
303 B
Go

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")
)