OWASPASVS 5.0 requirement

ASVS-V16.5.4 A "last resort" error handler is defined which will catch all unhandled exceptions.

L3 Published 2025 Official page ↗
Standard
OWASP ASVS 5.0
Chapter
V16 Security Logging and Error Handling
Section
V16.5 Error Handling
Level
L3 (requirement applies from this verification level up)

Requirement

Verify that a "last resort" error handler is defined which will catch all unhandled exceptions. This is both to avoid losing error details that must go to log files and to ensure that an error does not take down the entire application process, leading to a loss of availability.