package
0.0.0-20250307143025-a20772f9e9d9
Repository: https://github.com/luno/jettison.git
Documentation: pkg.go.dev

# Functions

As is an alias of the standard library's errors.As() function.
No description provided by the author
Flatten walks the error tree, creating a path for each leaf of the tree if the tree looks like this: ── a └── b ├── c │ └── e │ └── f └── d ├── g └── h Then the paths we will get are: [a, b, c, e, f] [a, b, d, g] [a, b, d, h].
GetCodes returns the stack of error codes in the given jettison error chain.
GetKeyValues returns all embedded key value info in the error.
No description provided by the author
Is is an alias of the standard library's errors.Is() function.
IsAny returns true if Is(err, target) is true for any of the targets.
Join is an alias of the standard library's errors.Join() function.
New creates a new JettisonError with a populated stack trace.
No description provided by the author
No description provided by the author
Unwrap is an alias of the standard library's errors.Unwrap() function.
Walk will do a depth first traversal of the error tree.
WithCode sets an error code on the error.
WithoutStackTrace clears any automatically populated stack trace.
WithStackTrace will add a new stack trace to this error.
Wrap will wrap an existing error in a new JettisonError.

# Variables

No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author