panics

package
v0.0.0-...-cc79a08 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandlePanics

func HandlePanics(recovered interface{}, stack []byte) bool

HandlePanics produces actionable output for panic events (that shouldn't happen) and returns whether a panic event has been handled

func LogAndPanic

func LogAndPanic(recovered interface{}, stack []byte)

LogAndPanic produces actionable output for panic events (that shouldn't happen) and panics

func LogPanics

func LogPanics(recovered interface{}, stack []byte) bool

LogPanics produces actionable output for panic events (that shouldn't happen) and returns whether a panic event has been handled

Types

This section is empty.

Jump to

Keyboard shortcuts

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