errors

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TypeInvalidInput typ = typ{"invalid-input"}
	TypeNotFound     typ = typ{"not-found"}
	TypeInternal         = typ{"internal"}
	TypeFatal            = typ{"fatal"}
	TypeUnsupported      = typ{"unsupported"}
)

Functions

func LogAttr

func LogAttr(err error) slog.Attr

func Newf added in v0.2.1

func Newf(t typ, info string, args ...any) *base

func Unwrapb added in v0.2.1

func Unwrapb(cause error) (typ, string, error)

func Wrapf added in v0.2.1

func Wrapf(cause error, t typ, format string, args ...any) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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