Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.