package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Apr 5, 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
¶
Package errutil provides utilities for error creation and handling
Wrap wraps an error, adding a prefix to the message.
The message becomes "<prefixMessage>: <original message>" (the prefix itself does not need a colon at the end).
If prefixMessage contains format specifiers, varargs supplies the respective values.
Returns nil if err is nil.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.