-
Notifications
You must be signed in to change notification settings - Fork 6
IPluginErrorHandler
FoolRunning edited this page Jul 26, 2022
·
3 revisions
Optional interface to be implemented by Paratext plugins that want to be able to report information about unhandled exceptions caused by the plugin. If a plugin does not implement this interface, Paratext will inform the user that the plugin caused the exception but will not be able to tell them how to report the problem or get support.
bool ReportUnhandledException(Exception exception)
Callback to the plugin to request that an unhandled exception caused by the plugin be reported to the user.
NOTE: Any exceptions thrown during the invocation of this method will be ignored.
Parameter | Description |
---|---|
return value | true if the plugin reported the exception; false to have Paratext report the problem using its default reporting mechanism. |
exception | The unhandled exception that was thrown by the plugin or by Paratext in response to an invalid method call from the plugin. |
This page is auto-generated. User edits will be lost when regenerated.