Unhandled exception

Error Handling & Input Validation

Last updated: November 10, 2025

Overview

Bug Type:
Unhandled exception
Category:
Error Handling & Input Validation

Definition

An exception is not caught or translated, often crashing the request/process.

How to fix Unhandled exception?

Add scoped and top-level handlers; convert to domain errors; avoid leaking sensitive details; add fail-safe fallbacks

Symptoms

Observable signs that may indicate Unhandled exception:

  • Process or request crashes without graceful fallback.
  • 500 errors with stack traces exposed.
  • Background jobs halt on first error.

Example Errors:

  • Unhandled exception: NullReferenceException
  • Fatal error: uncaught exception
  • Node process exited with code 1

© 2025 peqy.ai · Bug Taxonomy