Skip to content

Glossary: Building APIs with Node.js

Error shape

Also written: error format

The fixed fields of every error reply: `statusCode`, `error` and `message`. One shape means a client needs only one piece of code to show errors.

Where the book teaches it

Related terms

HttpError