public class ErrorMsg extends AbstractModel
header, skipSign
Constructor and Description |
---|
ErrorMsg() |
ErrorMsg(ErrorMsg source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getCode()
Get 错误码。
4000 服务内部异常。
4001 请求模型超时。
|
String |
getMsg()
Get 错误提示信息。
|
void |
setCode(Long Code)
Set 错误码。
4000 服务内部异常。
4001 请求模型超时。
|
void |
setMsg(String Msg)
Set 错误提示信息。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ErrorMsg()
public ErrorMsg(ErrorMsg source)
public String getMsg()
public void setMsg(String Msg)
Msg
- 错误提示信息。public Long getCode()
public void setCode(Long Code)
Code
- 错误码。
4000 服务内部异常。
4001 请求模型超时。Copyright © 2024. All rights reserved.