package
2.35.1+incompatible
Repository: https://github.com/keboola/keboola-as-code.git
Documentation: pkg.go.dev
# Functions
As finds the first error in chain that matches target, and if one is found, sets.
Errorf formats according to a format specifier and returns the string as a value that satisfies error.
No description provided by the author
FormatAsSentences option converts standard Go error message to sentence.
FormatWithStack option includes stack trace in each error message.
FormatWithUnwrap option prints also all wrapped errors.
Is reports whether any error in chain matches target.
New returns an error from the given text, stack trace is included.
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
No description provided by the author
Unwrap returns the result of calling the Unwrap method on err.
No description provided by the author
Wrap wraps the error with a different message.
Wrapf wraps the error with a different message.
# Structs
No description provided by the author
# Interfaces
Formatter is a configurable error formatter.
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
MessageFormatter formats each error message.
PrefixFormatter formats a prefix followed by a list of errors, see defaultPrefixFormatter.
No description provided by the author