package
Version:
v0.0.0-...-9b78ba4
Opens a new window with list of versions in this module.
Published: Aug 26, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewErrorf instantiates a new error.
WrapErrorf returns a wrapped error.
Error represents an error that could be wrapping another error, it includes a code for determining what
triggered the error.
Code returns the code representing this error.
Error returns the message, when wrapping errors the wrapped error is returned.
Unwrap returns the wrapped error, if any.
ErrorCode defines supported error codes.
const (
ErrorCodeUnknown ErrorCode = iota
ErrorCodeNotFound
ErrorCodeInvalidArgument
)
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.