summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/olahol/melody/errors.go
blob: d8be6157d44ae82af9c8c7881b82ef7726d85959 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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")
)