Details
Notifies user if an error has occurred. If explorer shell has not loaded, this message will be displayed in a blue screen. If the explorer shell is loaded, the message will be prompted with a window.
This method allows app developers to deliver a consistent error interface for users.
Arguments
system.error(string errorDescription, string filePath);
errorDescription: Description and details of the error.
filePath: Path of the file that the error originated from.
Example
system.error('Test Error', 'test.js');
If explorer is loaded:

If explorer is not loaded:
