aboutsummaryrefslogtreecommitdiff
path: root/errors.go
blob: 7c0a037bbdd8707b938c1ddf55a7ede56ad4802f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package main

import (
	"errors"
)

var (
	ErrEmptyMessage       = errors.New("empty message")
	ErrIllegalByte        = errors.New("illegal byte")
	ErrTagsTooLong        = errors.New("tags too long")
	ErrInvalidTagContent  = errors.New("invalid tag content")
	ErrBodyTooLong        = errors.New("body too long")
	ErrNotConnectedServer = errors.New("not connected server")
	ErrSendToSelf         = errors.New("attempt to send message to self")
	ErrUIDBusy            = errors.New("too many busy uids")
	ErrInconsistent       = errors.New("inconsistent state")
	ErrCallState          = errors.New("invalid call state")
)