aboutsummaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-22 01:17:06 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-22 02:02:39 +0800
commit62045c958b0d58d61e6d22deb88eed7b9ae28a4e (patch)
tree93ae68d77f6cc21de45a9f4edbdffb6cd0b5a1ae /errors.go
parentUse MIT because miniirc (diff)
downloadgo-lindenii-irc-62045c958b0d58d61e6d22deb88eed7b9ae28a4e.tar.gz
go-lindenii-irc-62045c958b0d58d61e6d22deb88eed7b9ae28a4e.tar.zst
go-lindenii-irc-62045c958b0d58d61e6d22deb88eed7b9ae28a4e.zip
Basic IRCv3 message parser
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/errors.go b/errors.go
new file mode 100644
index 0000000..84795f5
--- /dev/null
+++ b/errors.go
@@ -0,0 +1,6 @@
+package irc
+
+import "errors"
+
+var ErrInvalidIRCv3Tag = errors.New("invalid ircv3 tag")
+var ErrMalformedMsg = errors.New("malformed irc message")