viewErrorTextConfig property
Implementation
final Map<ViewErrorType, String> viewErrorTextConfig = {
ViewErrorType.unknown: '未知错误',
ViewErrorType.dataError: '数据解析错误',
ViewErrorType.successButEmptyDataError: '服务器返回数据为空',
ViewErrorType.emptyDataError: '服务器返回数据为空',
ViewErrorType.nullBodyError: '没有响应体错误',
ViewErrorType.cancelError: '请求被中断',
ViewErrorType.timeOutError: '请求超时',
ViewErrorType.responseError: '服务器响应码错误',
ViewErrorType.codeError: '接口码错误',
ViewErrorType.tokenError: 'token过期',
ViewErrorType.netWorkError: '网络错误',
ViewErrorType.sslError:'证书错误',
ViewErrorType.urlError: 'url错误',
ViewErrorType.beforeRequestError: '请求前错误',
};