# .catch()

*noun*

say it: **“KACH”** **/kætʃ/**

The Promise method that runs a function if the promise fails.

## What does **.catch()** do in JavaScript?

**.catch()** — A Promise method that schedules error handling for rejection.

```javascript
orderReady.catch(error => {
    showError(error);
});
```

## In a sentence

- “The **catch** shows "Couldn't load products" when the request fails.”

Level: Journeyman · [More JavaScript terms at this level](https://www.ask-codey.com/glossary?category=javascript&level=3)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/catch
