Handling Status Code Errors4:17 with Andrew Chalkley
In this video we'll handle HTTP errors.
STATUS_CODES array is not on the
STATUS_CODES can be found on the
http object. To include the
STATUS_CODES use the following code:
const http = require('http'); http.STATUS_CODES;
You need to sign up for Treehouse in order to download course files.Sign up