error method

dynamic error(
  1. DioException dioException
)
inherited

Handle the DioException response if there is an issue.

Implementation

error(DioException dioException) {}