error method

void error(
  1. DioException dioException
)

Handle the DioException response if there is an issue.

Implementation

void error(DioException dioException) {}