# Handling errors

```sh
# Select a client library to see examples of
# handling different kinds of errors.
```

Our Client libraries raise exceptions for many reasons, such as a failed charge, invalid parameters, authentication errors, and network unavailability. We recommend writing code that gracefully handles all possible API exceptions.

- Related guide: [Error Handling](https://docs.stripe.com/error-handling.md)
