onUnhandledError property

ErrorCallback? onUnhandledError
final

A callback that is fired on unhandled exceptions.

In the case where a user provided callback results in an exception that cannot be properly routed back to the client, this handler will be invoked. If it is not set, the exception will be swallowed.

Implementation

final ErrorCallback? onUnhandledError;