errors

package
v0.0.0-...-18d85b2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromPanic

func FromPanic(rec interface{}) error

FromPanic extracts the err from the result of a recover() call.

func ReportToSentry

func ReportToSentry(err error, r *http.Request)

ReportToSentry reports err to the configured sentry server. Optionally, specifying a non-nil `r` will include information in the report about the current http request.

Types

This section is empty.

Jump to

Keyboard shortcuts

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