From 1015a4ec1cd8b914ca4e3a51127e62350183208c Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Sat, 25 Mar 2023 13:35:11 +0200 Subject: [PATCH] Exceptions - Added new enum member `NICKNAME_TOO_LONG` to `ErrorType` --- source/birchwood/client/exceptions.d | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/birchwood/client/exceptions.d b/source/birchwood/client/exceptions.d index 1005708..7258c38 100644 --- a/source/birchwood/client/exceptions.d +++ b/source/birchwood/client/exceptions.d @@ -71,7 +71,13 @@ public enum ErrorType /** * If a key-lookup in the ConnInfo failed */ - DB_KEY_NOT_FOUND + DB_KEY_NOT_FOUND, + + /** + * If the requested nickname (via /NICK) is + * too long + */ + NICKNAME_TOO_LONG } /**