debug

package
v1.85.2 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCrashReport

func BuildCrashReport(pkg, version string, panicValue any) (
	report issue.Report,
)

BuildCrashReport builds a crash report with the given panic value, for the given package and version.

func CapturePanic

func CapturePanic(log *log.Logger, pkg, version string, f func()) (
	report issue.Report, panicValue any, ok bool,
)

CapturePanic attempts to capture a panic during execution of f, logs it and returns a Report and false, or returns true if f returned successfully.

Types

This section is empty.

Jump to

Keyboard shortcuts

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