An unfortunate side effect of relying on external data sources for an application is that they can sometimes let us down. Service outages, API changes, and even network latency can all result in errors in API requests that have to be dealt with in our application. Luckily, promises have a built-in support for error handling that we can leverage to handle these situations.