onError abstract method

void onError(
  1. Exception error
)

Called when error has occurred
@param error Exception that has been thrown

Implementation

void onError(Exception error);