panichandler

package
v0.13.0-beta.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PanicTelemetryHandler func(panicType string)

to log NumPanics into the local telemetry system gets around import cycles

Functions

func PanicHandler

func PanicHandler(debugStr string, recoverVal any) error

returns an error (wrapping the panic) if a panic occurred

func PanicHandlerNoTelemetry

func PanicHandlerNoTelemetry(debugStr string, recoverVal any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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