Versions in this module Expand all Collapse all v0 v0.1.0 May 28, 2026 Changes in this version + const Generic + const Internal + const PolicyDenied + const Success + const UpstreamFailed + const UserError + type Coded interface + Code func() int + Kind func() string + func From(err error) Coded + type CodedError struct + C int + Err error + Hint string + K string + R string + func New(code int, kind string, err error, hint string) *CodedError + func (e *CodedError) Code() int + func (e *CodedError) Error() string + func (e *CodedError) HintText() string + func (e *CodedError) Kind() string + func (e *CodedError) Reason() string + func (e *CodedError) Unwrap() error + func (e *CodedError) WithReason(reason string) *CodedError + type Reasoner interface + Reason func() string