HttpError.urlError constructor

HttpError.urlError({
  1. String url = '',
})

Implementation

HttpError.urlError({String url = ''}) {
  errorType = ViewErrorType.urlError;
  message = '${ErrorTextConfig().getViewErrorByType(errorType)}$url';
  logMsg = '传入的url不正确:$url';
}