From dce03955174abe5ad83c01c930e3bf47fe39d8ce Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 30 Dec 2024 01:23:40 +0000 Subject: Revamp --- errors.go | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 errors.go (limited to 'errors.go') diff --git a/errors.go b/errors.go deleted file mode 100644 index 98a81b3..0000000 --- a/errors.go +++ /dev/null @@ -1,21 +0,0 @@ -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") - ErrFullClients = errors.New("this server has/had too many clients") -) -- cgit v1.2.3