Versions in this module Expand all Collapse all v1 v1.0.0 Nov 7, 2025 Changes in this version + type Error struct + Cause error + Code code.Code + Details map[string]any + Message string + Reason reason.Reason + func E(c code.Code, msg string, opts ...Option) *Error + func (e *Error) Error() string + func (e *Error) Unwrap() error + func (e *Error) WithCause(err error) *Error + func (e *Error) WithDetail(k string, v any) *Error + func (e *Error) WithDetails(kv map[string]any) *Error + func (e *Error) WithMessage(msg string) *Error + func (e *Error) WithReason(r reason.Reason) *Error + type Option func(*Error) *Error + func WithCauseOption(err error) Option + func WithDetailOption(k string, v any) Option + func WithDetailsOption(kv map[string]any) Option + func WithReasonOption(r reason.Reason) Option