aboutsummaryrefslogtreecommitdiff
path: root/errors.go
blob: 9cd41b5eadc2d51641b93f5e5ab5852d1a276be8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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")
	ErrCIDBusy            = errors.New("too many busy cids")
	ErrCallState          = errors.New("invalid call state")
	ErrInconsistentGlobal = errors.New("inconsistent global state")
	ErrInconsistentClient = errors.New("inconsistent client state")
	ErrRemoteClient       = errors.New("operation not supported for a remote client")
)