package
0.11.0
Repository: https://github.com/omni-network/omni.git
Documentation: pkg.go.dev

# Functions

As finds the first error in err's chain that matches target, and if so, sets target to that error value and returns true.
Cause calls Unwrap until it finds the root cause of the error.
Is reports whether any error in err's chain matches target.
New returns an error that formats as the given text and contains the structured (slog) attributes and stack trace.
NewSentinel returns a new error that formats as the given text.
Unwrap returns the result of calling the Unwrap method on err, if err's type contains an Unwrap method returning error.
Wrap returns a new error wrapping the provided with additional structured fields.