aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dht/errors.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/dht/errors.go b/dht/errors.go
new file mode 100644
index 0000000..47cb4d9
--- /dev/null
+++ b/dht/errors.go
@@ -0,0 +1,8 @@
+package dht
+
+var ErrCodes = map[int]string{
+ 201: "Generic Error",
+ 202: "Server Error",
+ 203: "Protocol Error",
+ 204: "Method Unknown",
+}