package
0.0.0-20240726205954-93d05801347e
Repository: https://github.com/wplapper/restic.git
Documentation: pkg.go.dev
# Functions
As finds the first error in err's tree that matches target, and if one is found, sets target to that error value and returns true.
CombineErrors combines multiple errors into a single error after filtering out any nil values.
Fatal returns an error that is marked fatal.
Fatalf returns an error that is marked fatal.
Is reports whether any error in err's tree matches target.
IsFatal returns true if err is a fatal message that should be printed to the user.
Unwrap returns the result of calling the Unwrap method on err, if err's type contains an Unwrap method returning error.
# Variables
Errorf creates an error based on a format string and values.
New creates a new error based on message.
WithStack annotates err with a stack trace at the point WithStack was called.
Wrap wraps an error retrieved from outside of restic.
Wrapf returns an error annotating err with the format specifier.