Skip to content

Commit 43b48a5

Browse files
Fix: API Leakage (#328)
Co-authored-by: Daniel Heidemann <mail@dheidemann.de>
1 parent 7b5ba31 commit 43b48a5

2 files changed

Lines changed: 207 additions & 114 deletions

File tree

server/graph/errors.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package graph
2+
3+
import "fmt"
4+
5+
var ErrInternal = fmt.Errorf("internal server error")
6+
var ErrWrongCredentials = fmt.Errorf("incorrect credentials provided")

0 commit comments

Comments
 (0)