handleDioError<T> method
Implementation
RemoteResponse<T> handleDioError<T>(DioError e) {
if (e.isNoConnectionError) {
return const RemoteResponse.noConnection();
}
throw e;
}
RemoteResponse<T> handleDioError<T>(DioError e) {
if (e.isNoConnectionError) {
return const RemoteResponse.noConnection();
}
throw e;
}