HttpError.beforeReqError constructor
Implementation
HttpError.beforeReqError(
{String? msg, String? logMsg, Exception? exception}) {
cause = exception;
errorType = ViewErrorType.beforeRequestError;
message = msg ?? ErrorTextConfig().getViewErrorByType(errorType);
logMsg = logMsg ?? '请求前错误,这是发生在请求前';
}