stacktrace

package
v1.13.6-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2025 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(format string, args ...any) error

Errorf adds a stack trace to the last argument provided if it is an error and stack traces are enabled.

func New

func New(msg string) error

func Wrap

func Wrap(err error) error

Types

type StackTraceError

type StackTraceError struct {
	StackTrace []runtime.Frame
	Cause      error
}

func (StackTraceError) Error

func (e StackTraceError) Error() string

func (StackTraceError) Unwrap

func (e StackTraceError) Unwrap() error

Jump to

Keyboard shortcuts

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