errorsafety
Errorsafety is the property of a system to limit harm, maintain integrity, and continue operation in the presence of faults, mistakes, or unexpected inputs. It is an interdisciplinary concept applied in software engineering, hardware design, industrial control, and human-centered systems, and aims to reduce the likelihood and impact of errors rather than to guarantee their complete absence.
Common approaches include fault tolerance (redundancy, replication, graceful degradation), fail-safe behavior (transition to a harmless state
Design principles that support errorsafety include defense-in-depth, least privilege, isolation of critical components, and clear failure
Trade-offs often involve cost, complexity, performance, and usability; highly fault-tolerant designs may be more expensive and