aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/resolvers/errors.go
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2020-06-19 00:35:56 +0100
committerMichael Muré <batolettre@gmail.com>2020-06-27 23:01:10 +0200
commit5f72b04ef8e84b1c367ca6874519706318e351f5 (patch)
tree6f73279d05130d3d6d83de1dad3a5b4ac25be080 /graphql/resolvers/errors.go
parente5a316e40c377a8563e92f62b0773ed34321a91a (diff)
downloadgit-bug-5f72b04ef8e84b1c367ca6874519706318e351f5.tar.gz
Use ErrNotAuthenticated
Diffstat (limited to 'graphql/resolvers/errors.go')
-rw-r--r--graphql/resolvers/errors.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/graphql/resolvers/errors.go b/graphql/resolvers/errors.go
deleted file mode 100644
index 2a8024e0..00000000
--- a/graphql/resolvers/errors.go
+++ /dev/null
@@ -1,6 +0,0 @@
-package resolvers
-
-import "errors"
-
-// ErrNotAuthenticated is returned to the client if the user requests an action requiring authentication, and they are not authenticated.
-var ErrNotAuthenticated = errors.New("not authenticated or read-only")