Error Handling

Kind: principle

Layer: Correctness Core

Record: architecture:error-handling

Severity: mandatory

Scope: function, module, service

Canonical: Ontology

A design rule that every error is either handled with its context kept, or propagated as a typed error the caller must handle.

Listed in Architecture principles, after Robustness Principle and before Error Boundaries.

Requires

Reinforces

Enables

Conflicts with

In tension with

Tensions

Violated by

Refactored by

Severity

Category

Enforced by

Required by

Linked from