Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Refusal ¶
Refusal is the shared fail-closed error returned at trust boundaries.
func New ¶
New builds a refusal. Every refusal owes the caller one legal recovery action, so an empty code, reason, or next is a construction bug rather than a runtime condition: refusing without a way forward is the dead end the fail-closed contract exists to prevent. Panic keeps that undetectable in tests instead of shipping a dead end to an agent or a person.
Click to show internal directories.
Click to hide internal directories.