HttpError.emptyMixError constructor
Implementation
HttpError.emptyMixError(Map<String, HttpError> httpErrorMap, bool syncRequest){
String errorLogMsg = '';
httpErrorMap.forEach((url, httpError) {
errorLogMsg = errorLogMsg + '$url : ${httpError.message}';
});
httpErrorType = HttpErrorType.EmptyDataError;
message = NO_DATA_MSG;
logMsg = '${syncRequest? '同步' : '异步'}请求报错: $errorLogMsg';
}