Skip to content

Glossary: JavaScript Beyond the Basics

ENOENT

The error code Node gives when a file doesn't exist ("no such file or directory"). Reading `error.code` lets code treat a missing file on the first run as normal.

Where the book teaches it

Related terms

cause