package
0.0.0-20241018223127-a062be16fda2
Repository: https://github.com/activestate/cli.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
New creates a new error, similar to errors.New.
No description provided by the author
Pack creates a new error that packs the given errors together, allowing for multiple errors to be returned This accepts nil errors, and will return nil if all errors passed in are also nil.
ParseExitCode checks if the given error is a failure of type ExitCodeable and returns the ExitCode of the process that failed with this error.
SetIf is a helper for setting options if some conditional evaluated to true.
No description provided by the author
No description provided by the author
No description provided by the author
Unpack will recursively unpack an error into a list of errors, which is useful if you need to iterate over all errors.
Wrap creates a new error that wraps the given error.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
# Structs
No description provided by the author
PackedErrors represents a collection of errors that aren't necessarily related to each other note that rtutils replicates this functionality to avoid import cycles.
WrapperError is what we use for errors created from this package, this does not mean every error returned from this package is wrapping something, it simply has the plumbing to.
# Interfaces
No description provided by the author
WrapperError enforces errors that include a stacktrace.
No description provided by the author
No description provided by the author
No description provided by the author
TransientError represents an error that is transient, meaning it does not itself represent a failure, but rather it facilitates a mechanic meant to get to the actual error (eg.
No description provided by the author
# Type aliases
No description provided by the author