errx

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func With

func With(kind error, format string, args ...any) error

With prefixes the formatted message with a sentinel error. Example: With(ErrFoo, ": detail: %w", err)

func Wrap

func Wrap(kind, err error) error

Wrap combines an operation sentinel and underlying error while preserving errors.Is checks for both values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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