error method

dynamic error(
  1. DioException dioException
)

Handle the DioException response if there is an issue.

Implementation

error(DioException dioException) {}