error(message, [show_stack_trace])

Description:

Displays a dialog windows with error message and error icon.

Parameters:

Name Type Default Description

message

string

Error message to display.

[show_stack_trace]

boolean

true

Whether to show stack trace to be able to trace the error.

Returns:

Does not return a value

Type: void

Examples:

Showing an error message only:

error("Invalid parameters passed.", false);

Showing an error message with a stack trace:

error("Invalid parameters passed.");