The ErrorDialog method displays a dialog box with an error message.
ErrorDialog(file, error, buttons, [title])
Required. File that caused the error. This can be either a File object obtained from the FileSystemObject, a Sally panel Item, or a string specifying the file path.
Required. String containing the error description, or a number specifying one of the predefined system error codes.
Required. Number specifying the type of buttons to display.
| Constant | Description |
| 0 | Display OK button only. |
| 1 | Display Retry and Cancel buttons. |
| 2 | Display Skip, Skip All and Cancel buttons. |
| 3 | Display Retry, Skip, Skip All and Cancel buttons. |
Optional. String displayed in the title bar of the dialog box.
| Value | Description |
| 1 | OK |
| 2 | Cancel |
| 4 | Retry |
| 16 | Skip |
| 17 | Skip All |