Documentation
¶
Overview ¶
Package failure preserves error identity without rendering sensitive causes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Classified ¶
type Classified struct {
// contains filtered or unexported fields
}
Classified is a redacted error with a stable classification and hidden programmatic cause.
func (*Classified) Error ¶
func (err *Classified) Error() string
Error deliberately excludes the underlying cause.
func (*Classified) Unwrap ¶
func (err *Classified) Unwrap() []error
Unwrap exposes identities to errors.Is without exposing cause text.
Click to show internal directories.
Click to hide internal directories.