onError method

  1. @override
FutureOr<Response> onError(
  1. Message message,
  2. T exception,
  3. StackTrace stackTrace
)
override

Implementation

@override
FutureOr<Response> onError(
    Message message, T exception, StackTrace stackTrace) {
  return exceptionHandler(message, exception, stackTrace);
}