/
errors.go
20 lines (18 loc) · 926 Bytes
/
errors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package beanstalk
import "errors"
var (
ErrBadFormat = errors.New("beanstalk: bad format")
ErrBuried = errors.New("beanstalk: buried")
ErrDeadlineSoon = errors.New("beanstalk: deadline soon")
ErrDraining = errors.New("beanstalk: draining")
ErrExpectedCRLF = errors.New("beanstalk: expected CRLF")
ErrInternalError = errors.New("beanstalk: internal error")
ErrJobTooBig = errors.New("beanstalk: job too big")
ErrNotFound = errors.New("beanstalk: not found")
ErrNotIgnored = errors.New("beanstalk: not ignored")
ErrOutOfMemory = errors.New("beanstalk: out of memory")
ErrTimedOut = errors.New("beanstalk: timed out")
ErrUnknownCommand = errors.New("beanstalk: unknown command")
ErrMalformedCommand = errors.New("beanstalk: malformed command")
ErrUnexpectedResponse = errors.New("beanstalk: unexpected response")
)