hooks

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package hooks lets errors/wire's decoded layers render through the core's own LogValue and verbose formatter (spec 0003 D17) without either becoming public API. The core sets both at init; wire calls them.

Index

Constants

This section is empty.

Variables

View Source
var (
	// LogValue is the core's structured rendering of an error.
	LogValue func(error) slog.Value
	// Format is the core's fmt.Formatter implementation for an error.
	Format func(error, fmt.State, rune)
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL