MCPcopy Index your code
hub / github.com/graph-gophers/graphql-go / PanicHandler

Interface PanicHandler

errors/panic_handler.go:8–10  ·  view source on GitHub ↗

PanicHandler is the interface used to create custom panic errors that occur during query execution.

Source from the content-addressed store, hash-verified

6
7// PanicHandler is the interface used to create custom panic errors that occur during query execution.
8type PanicHandler interface {
9 MakePanicError(ctx context.Context, value any) *QueryError
10}
11
12// DefaultPanicHandler is the default [PanicHandler].
13type DefaultPanicHandler struct{}

Callers 2

handlePanicMethod · 0.65
execFieldSelectionFunction · 0.65

Implementers 1

DefaultPanicHandlererrors/panic_handler.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…