Module kotlin-throwable-policy¶
kotlin-throwable-policy classifies Throwable graphs so broad catch blocks can preserve abort
signals and fatal errors.
The public API is centered on Throwables:
Policycontrols traversal depth, allocation use, suppressed scanning, and propagation categories.VerdictrepresentsYES,NO, orUNKNOWNclassification results.- classification helpers identify fatal errors, interruption, cancellation, control flow, and contract violations.
- propagation helpers rethrow high-priority signals, restore interrupt flags, unwrap common wrappers, and attach suppressed failures on a best-effort basis.
For the full human policy and library contract, see POLICY.md in the source tree.