package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Feb 11, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package lazyerrors provides error wrapping with file location.
Only one file location is captures for each error, not a full stack.
If the chain is needed, don't forget to add links manually.
Error returns new error with a given non-nil error and file location.
Errorf returns new error with a given format string and file location.
New returns new error with a given error string and file location.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.