GraphQL API and utilities for the rpdata project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
533 B

  1. package resolver
  2. import "errors"
  3. // ErrCannotResolve is returned when a resolver constructor is at its wit's end
  4. var ErrCannotResolve = errors.New("Cannot resolve due to invalid arguments")
  5. // ErrNotImplemented is for TODOs
  6. var ErrNotImplemented = errors.New("Resolver not implemented")
  7. // ErrUnauthorized is when a guest acts like they own the place
  8. var ErrUnauthorized = errors.New("Unauthorized")
  9. // ErrPermissionDenied is returned when users act above their station
  10. var ErrPermissionDenied = errors.New("Permission denied")