error handling
Responding to unexpected failures
Error handling is the practice of anticipating, detecting, and responding to problems that occur during program execution.
Good error handling prevents crashes and provides useful feedback: The error handling caught the missing file and displayed a friendly message.
Languages offer various mechanisms—try/catch blocks, error codes, exceptions—to manage failures gracefully rather than letting them cascade.
- exceptionDeviation from standard
- debuggingError removal from programs
- blue screenFatal system error display
- loggingRecording system events
- failoverAutomatic backup system activation
recovery · rollback · graceful degradation · fault tolerance · throw · monitoring · diagnostics · catch · try · validation · edge case · fail fast · stack trace · alert · checksum · redundancy · assertion · undefined
- processingprocessing, batch processing, data processing, parallel processing, real-time processing
- software developmentcoding, programming, bug, debug, debugging
- documentationmanual, manuals, user guide, user guides, user manual
- UX designuser research, wireframing, user experience, user testing, user needs
- codefunction, source code, variable, array, class
- JavaScriptJavaScript, function, JS, variable, array
error handlingsilent failure
Malfunction showing no symptoms
crash and burn · looking the other way · blind faith · hoping for the best · willful ignorance