---
title: "debug.showError(String) Method  ActiveX/Java Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/JA_M_J_$au_debug_showError_1_007649e6.htm
product: "Upload Suite 8"
---

# debug.showError(String) Method ActiveX/Java Uploader JavaScript

Supported browsers: ![Internet Explorer](https://www.aurigma.com/docs/us8/icons/ie8.png)![Firefox](https://www.aurigma.com/docs/us8/icons/firefox.png)![Google Chrome](https://www.aurigma.com/docs/us8/icons/chrome.png)![Safari](https://www.aurigma.com/docs/us8/icons/safari.png)
 
Shows an error message in accordance with the [mode](https://www.aurigma.com/docs/us8/JA_P_J_$au_debug_mode.htm.md) value if errors are allowed via the [level](https://www.aurigma.com/docs/us8/JA_P_J_$au_debug_level.htm.md) property.

## Syntax
 
```
$au.debug().showError(msg);
```
 
### Parameters
 
 - msg
     - Type: **String**
 
The message to show.

## Remarks
 
This method can be used to show a custom error message.
