If an exception is thrown during execution of your SproutCore app, this object will be given the opportunity to handle it.
By default, a simple error message is displayed prompting the user to
reload. You could override the
handleException method to, for example, send
an XHR to your servers so you can collect information about crashes in your
Defined in: exception_handler.js
- SproutCore 1.5
Field DetailSC.ExceptionHandler.isShowingErrorDialog Boolean
- Default value:
Class Method Detail
Called when an exception is encountered by code executed using
By default, this will display an error dialog to the user. If you want more sophisticated behavior, override this method.
- exception Exception
- the exception thrown during execution