Check out a free preview of the full Code Robust APIs with the Hapi.js Server Framework for Node.js course:
The "Challenge 4: Return Errors" Lesson is part of the full, Code Robust APIs with the Hapi.js Server Framework for Node.js course featured in this preview video. Here's what you'd learn in this lesson:

In this challenge, students use Boom to return a message when an application finds a mistake.

Get Unlimited Access Now