aboutsummaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-12-08 12:40:41 +0800
committerRunxi Yu <me@runxiyu.org>2024-12-08 12:40:41 +0800
commita81162e4a5f830339cfb143eeb951a57868c52b3 (patch)
tree4c3781785259e9c43cfb0a6b0a1a12eb707934ec /errors.go
parentErgo stuff is ISC, not MIT (diff)
downloadmeseircd-a81162e4a5f830339cfb143eeb951a57868c52b3.tar.gz
meseircd-a81162e4a5f830339cfb143eeb951a57868c52b3.tar.zst
meseircd-a81162e4a5f830339cfb143eeb951a57868c52b3.zip
NICK: Also delete old nick association when not fully registered
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/errors.go b/errors.go
index 7c0a037..a65fdef 100644
--- a/errors.go
+++ b/errors.go
@@ -13,6 +13,8 @@ var (
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")
+ ErrInconsistentGlobal = errors.New("inconsistent global state")
+ ErrInconsistentClient = errors.New("inconsistent client state")
+ ErrRemoteClient = errors.New("operation not supported for a remote client")
)