# HostUtils.ExceptionReportDelegate delegate

Namespace: [Rhino.Runtime](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.runtime.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public delegate HostUtils.ExceptionReportDelegate
```

Represents a reference to a method that will be called when an exception occurs.

**Signature:**

```cs
void HostUtils.ExceptionReportDelegate(string source, Exception ex)
```

**Parameters:**

- `source` ([string](https://learn.microsoft.com/dotnet/api/system.string)): An exception source text.
- `ex` ([Exception](https://learn.microsoft.com/dotnet/api/system.exception)): An exception.
