Versions in this module Expand all Collapse all v0 v0.0.1 Apr 16, 2026 Changes in this version + var AttrKey = attribute.Key("error.type") + type Class string + const Auth + const Canceled + const InvalidRequest + const Network + const PermissionDenied + const RateLimited + const Timeout + const Unknown + const Upstream5xx + func (c Class) Attr() attribute.KeyValue + type Matcher func(error) (Class, bool) + type Registry struct + func New() *Registry + func (r *Registry) Classify(err error) Class + func (r *Registry) RegisterDefaults() + func (r *Registry) RegisterMatcher(m Matcher) + func (r *Registry) RegisterSentinel(target error, class Class)