panix

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PanicError

type PanicError struct {
	Value      any
	StackTrace string
}

PanicError wraps panic information as a standard error. Contains the panic value and full stacktrace for diagnostics.

func NewPanicError

func NewPanicError(p any) *PanicError

NewPanicError creates a PanicError with captured current stacktrace.

func (*PanicError) Error

func (e *PanicError) Error() string

Jump to

Keyboard shortcuts

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