package
0.0.0-20190408051622-ebf3c7b94afd
Repository: https://github.com/m3db/m3x.git
Documentation: pkg.go.dev
# Functions
FirstError returns the first non nil error.
GetInnerInvalidParamsError returns an inner invalid params error if contained by this error, nil otherwise.
GetInnerNonRetryableError returns an inner non-retryable error if contained by this error, nil otherwise.
GetInnerRetryableError returns an inner retryable error if contained by this error, nil otherwise.
InnerError returns the packaged inner error if this is an error that contains another.
IsInvalidParams returns true if this is an invalid params error.
IsNonRetryableError returns true if this is a non-retryable error.
IsRetryableError returns true if this is a retryable error.
NewInvalidParamsError creates a new invalid params error.
NewMultiError creates a new MultiError object.
NewNonRetryableError creates a new non-retryable error.
NewRenamedError returns a new error that packages an inner error with a renamed error.
NewRetryableError creates a new retryable error.
Wrap wraps an error with a message but preserves the type of the error.
Wrapf formats according to a format specifier and uses that string to wrap an error while still preserving the type of the error.
# Structs
MultiError is an immutable error that packages a list of errors.
# Interfaces
ContainedError is an error with a contained error.
# Type aliases
Errors is a slice of errors that itself is an error too.