package
1.5.6
Repository: https://github.com/hawser/git-hawser.git
Documentation: pkg.go.dev

# Functions

ErrorContext returns the context map for an error if it is a wrappedError.
ErrorDelContext removes a value from the error's context.
Errorf formats according to a format specifier and returns the string as a value that satisfies error.
ErrorGetContext gets a value from the error's context.
IsAuthError indicates the client provided a request with invalid or no authentication credentials when credentials are required (e.g.
IsBadPointerKeyError indicates that the parsed data has an invalid key.
IsCleanPointerError indicates an error while cleaning a file.
IsDownloadDeclinedError indicates that the smudge operation should not download.
IsFatalError indicates that the error is fatal and the process should exit immediately after handling the error.
IsNotAPointerError indicates the parsed data is not an LFS pointer.
IsNotImplementedError indicates the client attempted to use a feature the server has not implemented (e.g.
IsRetriableError indicates the low level transfer had an error but the caller may retry the operation.
IsSmudgeError indicates an error while smudging a files.
New returns an error with the supplied message.
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
No description provided by the author
No description provided by the author
ErrorSetContext sets a value in the error's context.
No description provided by the author
If an error is abad pointer error of any type, returns NotAPointerError.
Wrap wraps an error with an additional message.
Wrapf wraps an error with an additional formatted message.