I just discovered a new thing in DevTools. 💡

There's a tab in Chromium browsers called 'Request conditions' which allows you to block or throttle requests based on URL pattern matching.

This makes it easy to simulate a particular endpoint not working as expected, which is very handy for testing if the error handling you've written actually does its job.