onError abstract method

void onError(
  1. Object error,
  2. StackTrace stackTrace
)

This method is called when an error occurs when executing the request.

Implementation

void onError(final Object error, final StackTrace stackTrace);