Documentation ¶ Index ¶ func ErrorPresenter(ctx context.Context, e error) *gqlerror.Error func PanicRecoverer(ctx context.Context, err interface{}) error type UserError func (e *UserError) Error() string func (e *UserError) Is(err error) bool func (e *UserError) Unwrap() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ErrorPresenter ¶ func ErrorPresenter(ctx context.Context, e error) *gqlerror.Error func PanicRecoverer ¶ func PanicRecoverer(ctx context.Context, err interface{}) error Types ¶ type UserError ¶ type UserError struct { // contains filtered or unexported fields } func (*UserError) Error ¶ func (e *UserError) Error() string func (*UserError) Is ¶ func (e *UserError) Is(err error) bool func (*UserError) Unwrap ¶ func (e *UserError) Unwrap() error Source Files ¶ View all Source files errors.go Click to show internal directories. Click to hide internal directories.