# Error handling

Each response from the ChargeOver API contains a Success flag and may include error messages. Here's an example of basic error handling:

```csharp
if (!response.Success)
{
    Console.WriteLine("Error: " + response.Message);
}
```
