# Error handling Catch and respond to declines, invalid data, network problems, and more. ## Index This article has multiple variants. Fetch one of the following URLs to view specific content for your use case: - [Ruby](https://docs.stripe.com/error-handling.md?lang=ruby&utm_source=7blocklabs.com) - [Python](https://docs.stripe.com/error-handling.md?lang=python&utm_source=7blocklabs.com) - [PHP](https://docs.stripe.com/error-handling.md?lang=php&utm_source=7blocklabs.com) - [Java](https://docs.stripe.com/error-handling.md?lang=java&utm_source=7blocklabs.com) - [Node.js](https://docs.stripe.com/error-handling.md?lang=node&utm_source=7blocklabs.com) - [Go](https://docs.stripe.com/error-handling.md?lang=go&utm_source=7blocklabs.com) - [.NET](https://docs.stripe.com/error-handling.md?lang=dotnet&utm_source=7blocklabs.com)