Versions in this module Expand all Collapse all v0 v0.0.1 Dec 16, 2023 Changes in this version + func FormatError(f Formatter, s fmt.State, verb rune) + func NewBuilder(options ...func(*builder)) *builder + func NewHTTPError(statusCode int, code string, description string) error + func Unwrap(err error) error + func WithAttributes(attrs map[string]any) func(*builder) + func WithErrorsCodesMapping(mapping map[int]string) func(*builder) + func WithStack() func(*builder) + func Wrap(err error, message string) error + func Wrapf(err error, format string, a ...interface{}) error + type Formatter interface + FormatError func(p Printer) (next error) + type Frame struct + func Caller(skip int) Frame + func (f Frame) Format(p Printer) + func (f Frame) Location() (function, file string, line int) + type HTTPError interface + Error func() string + ErrorCode func() string + StatusCode func() int + type Printer interface + Detail func() bool + Print func(args ...interface{}) + Printf func(format string, args ...interface{}) + type Wrapper interface + Unwrap func() error