Skip to content

Glossary: Node.js Basics

Error code

Also written: err.code, error codes

A short, fixed name on an error, such as `ENOENT`, that code can check instead of reading the message. You can add your own, like `UNKNOWN_SKU`.

Where the book teaches it

Related terms

ENOENTOperational / programmer error