flutter-clean-architecture icon indicating copy to clipboard operation
flutter-clean-architecture copied to clipboard

DioError

Open LennyLip opened this issue 4 years ago • 0 comments

DioError does not work with the new version of Dio:

  1. "request" renamed to requestOptions
  2. DioErrorType.RESPONSE -> DioErrorType.response

It is no good idea to use DioError in DataState I think. HTTP 403/404/500 etc.. is not a Dio error in fact.

LennyLip avatar Feb 08 '22 02:02 LennyLip