Hi Aron;
FWIW: Here is what my STD Integrated Framework does in the System Error ...
1) Log the error details 1st & foremost
for example:
- // Write diagnostics to the log
- ii_rc = THIS.of_get_message( 84, ls_title, ls_msg )
- THIS.of_write_log ( ls_msg )
- THIS.of_write_log ( " Error Number ...... " + String (Error.Number))
- THIS.of_write_log ( " Error Line .......... " + String (Error.Line))
- THIS.of_write_log ( " Error Object ....... " + Error.Object)
- THIS.of_write_log ( " Error Event ........ " + Error.ObjectEvent)
- THIS.of_write_log ( " Error Message .... " + Error.Text)
2) If running in "silent" mode (aka Batch, Service, Taskbar, etc application = > HALT
3) After logging & running as either an Appeon Web, Appeon Mobile or native GUI application, put out a graceful generic user message and ask them if they want to continue.
Note: Turn on silent mode here! If the MSG Box dies and the SystemError event is entered again - then the code will take the Step#2 path.
4) MessageBox to User to continue (Yes/No)?
5) YES=> Log the user's response to #4 & exit event.
NO => eMail log to support, Log that action & then HALT
HTH
Regards ... Chris