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