stack_error

package
v0.0.0-...-7e38208 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetError

func GetError(c echo.Context, err error)

Types

type TrackerError

type TrackerError struct {
	Context  map[string]any
	ErrStack []slog.Attr
	// contains filtered or unexported fields
}

func TrackErrorStack

func TrackErrorStack(err error) *TrackerError

func (*TrackerError) AddContext

func (te *TrackerError) AddContext(k string, v any) *TrackerError

func (*TrackerError) AddErr

func (te *TrackerError) AddErr(err error) *TrackerError

func (*TrackerError) Error

func (te *TrackerError) Error() string

func (*TrackerError) Unwrap

func (te *TrackerError) Unwrap() error

Jump to

Keyboard shortcuts

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