Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadRequest = errors.New("BadRequestError")
View Source
var ErrForbidden = errors.New("ForbiddenError")
View Source
var ErrInternalServer = errors.New("InternalServerError")
View Source
var ErrNotFound = errors.New("NotFoundError")
View Source
var ErrNotImplemented = errors.New("NotImplementedError")
View Source
var ErrUnauthenticated = errors.New("UnauthenticatedError")
Functions ¶
func IsClientSideError ¶
Types ¶
type ResolverError ¶
func Error ¶
func Error(err error, kv ...string) ResolverError
type SturdyGraphqlError ¶
type SturdyGraphqlError struct {
// contains filtered or unexported fields
}
func (*SturdyGraphqlError) Error ¶
func (e *SturdyGraphqlError) Error() string
func (*SturdyGraphqlError) Extensions ¶
func (e *SturdyGraphqlError) Extensions() map[string]interface{}
func (*SturdyGraphqlError) Is ¶
func (e *SturdyGraphqlError) Is(target error) bool
func (*SturdyGraphqlError) OriginalError ¶
func (e *SturdyGraphqlError) OriginalError() error
func (*SturdyGraphqlError) Unwrap ¶
func (e *SturdyGraphqlError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.