From 5f72b04ef8e84b1c367ca6874519706318e351f5 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Fri, 19 Jun 2020 00:35:56 +0100 Subject: Use ErrNotAuthenticated --- graphql/resolvers/errors.go | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 graphql/resolvers/errors.go (limited to 'graphql/resolvers/errors.go') 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") -- cgit