onError abstract method

Future<Response> onError(
  1. Object error,
  2. StackTrace stackTrace
)

Implementation

Future<Response> onError(Object error, StackTrace stackTrace);