handleError abstract method

void handleError(
  1. DioError error
)

This method will be called for error handling purposes.

Implementation

void handleError(DioError error);