package
1.46.0
Repository: https://github.com/bww/go-util.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
Wrap an error and make it recoverable.
Create a set of errors.
Recoverable inspects the provided error to determine if it both implements the interface Recovery and returns true from the method Recoverable.
Redact an error by providing a representation that is safe to expose externally.
Format a new redacted error.
Reference generates a random reference identifier and wraps the provided error in a new referenced error with that identifier.
Refstr inspects the provided error to determine if any error in its chain implements the interface Referenced.
Stacktrace captures the current stack (excluding itself) and wraps the provided error with it.
Unredact inspects the provided error to determine if it implements the interface Redacted.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Interfaces

Recovery is implemented by errors which can describe whether or not they can be recovered from.
Redacted is implemented by errors which can contain sensitive information of some sort and can represent both an internal and external form.
No description provided by the author

# Type aliases

No description provided by the author