errorhandling

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureErrorPresenterFunc

func ConfigureErrorPresenterFunc(reporterFunc ErrorReporterFunc) graphql.ErrorPresenterFunc

func ConfigureRecoverFunc

func ConfigureRecoverFunc() graphql.RecoverFunc

ConfigureRecoverFunc will better handle panic errors and recover from it

Types

type ErrorReporterFunc

type ErrorReporterFunc func(ctx context.Context, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL