> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Method _showErrorDialog

Namespace: [Phoenix.ComponentPlugInSDK.Views](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentPlugInSDK.Views)\
Assembly: Phoenix.ComponentPlugInSDK.dll

## \_showErrorDialog(Exception)

Display an error message to the user.

```csharp theme={null}
[ExcludeFromCodeCoverage]
protected void _showErrorDialog(Exception ex)

```

### Parameters

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

the exception to display

### Remarks

Must be called from the UI thread, this method does not proxy to UI thread if needed.
