aboutsummaryrefslogblamecommitdiff
path: root/errors.go
blob: 7c0a037bbdd8707b938c1ddf55a7ede56ad4802f (plain) (tree)
1
2
3
4
5
6
7






                






                                                                             
                                                                

                                                                
 
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")
)