service/library/melody/errors.go

11 lines
303 B
Go
Raw Normal View History

2023-12-21 22:17:40 +08:00
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")
)