Skip to content

Glossary: Node.js Basics

Unhandled rejection

Also written: uncaught exception, unhandledRejection, uncaughtException

A rejected promise nobody catches, or an error thrown in a callback that nothing catches (an uncaught exception). Node exits with code 1, and `process` events let you log it first.

Where the book teaches it

Related terms

Operational / programmer errorEvent, event emitter