package
Version:
v0.0.0-...-e95d944
Opens a new window with list of versions in this module.
Published: Aug 2, 2023
License: BSD-3-Clause
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
¶
Package derrors defines internal error values to categorize the different
types error semantics supported by x/vuln.
func Wrap(errp *error, format string, args ...interface{})
Wrap adds context to the error and allows
unwrapping the result to recover the original error.
Example:
defer derrors.Wrap(&err, "copy(%s, %s)", dst, src)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.