Discover Packages
github.com/tyhal/crie
pkg
errchain
package
Version:
v1.0.5
Opens a new window with list of versions in this module.
Published: Nov 24, 2025
License: MIT
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
Documentation
¶
Package errchain keeps consistency of displaying error messages with more context.
Chain represents a helper that wraps an existing error and allows
adding contextual messages while preserving the original error using
Go's error wrapping.
From creates a new errorChain rooted at the provided error so that
additional context can be added in a consistent manner.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.