aboutsummaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
authoradnano <[email protected]>2020-09-25 23:23:24 -0400
committeradnano <[email protected]>2020-09-25 23:23:24 -0400
commit1f3587ba9d55324a7b948703bd6ef5bd15e373c6 (patch)
tree372a323257a1b310ad2086d0c9133c93b1db9b58 /server.go
parentRefactor TOFU (diff)
downloadgo-gemini-1f3587ba9d55324a7b948703bd6ef5bd15e373c6.tar.xz
go-gemini-1f3587ba9d55324a7b948703bd6ef5bd15e373c6.zip
Distinguish client errors from server errors
Diffstat (limited to 'server.go')
-rw-r--r--server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.go b/server.go
index 5eb685d..57ef415 100644
--- a/server.go
+++ b/server.go
@@ -13,7 +13,7 @@ import (
"time"
)
-// Errors.
+// Server errors.
var (
ErrBodyNotAllowed = errors.New("gemini: response status code does not allow for body")
)