onError method

  1. @protected
void onError(
  1. FlutterErrorDetails details
)
inherited

Supply an 'error handler' routine to fire when an error occurs. Allows the user to define their own with each StateMVC object.

Implementation

// details.exception, details.stack
@protected
void onError(FlutterErrorDetails details) => currentErrorFunc!(details);