package
module
Version:
v0.0.0-...-d27b8a6
Opens a new window with list of versions in this module.
Published: Aug 14, 2025
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
README
¶
wreck
Experimental slog-compatible error handling package for Go.
Documentation
¶
Package wreck implements slog-compatible errors.
Value extracts a single error attribute value.
Error is an error with attributes.
Error returns the internal error message.
Is reports whether the error matches the base error.
LogValue returns the error as a slog value.
Message returns the public error message.
New creates a new error from the base error.
Unwrap returns the error cause.
With returns a clone of the error with the specified key-value pair attributes.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.