# ILogConsistencyProtocolServices.CaughtUserCodeException(string, string, Exception)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.ilogconsistencyprotocolservices/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.ilogconsistencyprotocolservices/methods/)

```csharp
public abstract void CaughtUserCodeException(string callback, string where, Exception e)
```

Log an exception that occurred in user code, for some callback

### Parameters

- `callback` (`string`): The name of the callback
- `where` (`string`): The context from which the callback was called
- `e` (`Exception`): The caught exception
