onError abstract method

void onError(
  1. Object exception,
  2. dynamic trace,
  3. dynamic data
)

Catches all uncaught exceptions from custom commands and library itself

Implementation

void onError(Object exception, dynamic trace, dynamic data);