Versions in this module Expand all Collapse all v1 v1.1.0 Nov 1, 2026 Changes in this version + func Attrs(err error) []slog.Attr type KeyValue + Key string + Value any v1.0.0 Apr 7, 2025 Changes in this version + func New(text string, kv ...KeyValue) error + func Value[T any](err error, key string) (T, bool) + func Values(err error) map[string]any + func Wrap(err error, text string, kv ...KeyValue) error + type KeyValue = lo.Entry[string, any] + func KV(key string, value any) KeyValue + func ValuePairs(err error) []KeyValue