will display the dialog with the title and the error details if set to true else displays the message. By default it is set to true.
final bool isErrorDialog;