public class Failure extends Object
| Constructor and Description |
|---|
Failure() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getErrorCode()
导入失败的错误码
|
String |
getErrorMsg()
导入失败的错误信息
|
String |
getMethod()
API请求方法
|
String |
getPath()
API请求路径
|
int |
hashCode() |
void |
setErrorCode(String errorCode) |
void |
setErrorMsg(String errorMsg) |
void |
setMethod(String method) |
void |
setPath(String path) |
String |
toString() |
Failure |
withErrorCode(String errorCode) |
Failure |
withErrorMsg(String errorMsg) |
Failure |
withMethod(String method) |
Failure |
withPath(String path) |
public String getPath()
public void setPath(String path)
public String getErrorMsg()
public void setErrorMsg(String errorMsg)
public String getMethod()
public void setMethod(String method)
public String getErrorCode()
public void setErrorCode(String errorCode)
Copyright © 2022. All rights reserved.