Part 4 · Section 13

Project 6

Time to apply the exceptions section to a realistic design problem. You’re writing the backend of an online store that sells widgets, and every error it raises must come from one well-organized family of exceptions. Each exception should know how serious it is (its HTTP status), what to tell the customer, what to write to the log, and how to describe itself as a JSON response.

This project practices:

Lectures

  1. 01Project 6 - Description✓
  2. 02Project 6 - Solution✓

Practice: quiz & exercises

7 quiz questions · 4 coding exercises

Go to practice →