Shows an error message in accordance with the mode value if errors are allowed via the level property.

Syntax

JavaScript

$au.debug().showError(msg);

Parameters

msg

Type: String

The message to show.

Remarks

This method can be used to show a custom error message.