handleError abstract method

void handleError(
  1. DioException error
)

This method will be called for error handling purposes.

Implementation

void handleError(DioException error);