    

 ## On this page

  

 

 # Method \_handleError

 Last update: 19.06.2026 

Namespace: [Phoenix.ComponentPlugInSDK.ViewModels](Phoenix.ComponentPlugInSDK.ViewModels.md)  
Assembly: Phoenix.ComponentPlugInSDK.dll

## \_handleError(Exception)

Function to use to handle errors in command executions

```csharp
protected void _handleError(Exception ex)


```

### Parameters

`ex` [Exception](https://learn.microsoft.com/dotnet/api/system.exception)

The Exception to handle.