public class APIError extends Object
Constructor and Description |
---|
APIError() |
Modifier and Type | Method and Description |
---|---|
String |
getCategory()
Category the error belongs to.
|
String |
getCode()
Error code
|
Integer |
getHttpStatusCode()
HTTP status code for this error that can be used to determine the type of error
|
String |
getId()
ID of the error.
|
String |
getMessage()
Human-readable error message that is not meant to be relayed to customer as it might tip off people who are trying to commit fraud
|
String |
getPropertyName()
Returned only if the error relates to a value that was missing or incorrect.
Contains a location path to the value as a JSonata query. Some common examples:
|
String |
getRequestId()
ID of the request that can be used for debugging purposes
|
void |
setCategory(String value)
Category the error belongs to.
|
void |
setCode(String value)
Error code
|
void |
setHttpStatusCode(Integer value)
HTTP status code for this error that can be used to determine the type of error
|
void |
setId(String value)
ID of the error.
|
void |
setMessage(String value)
Human-readable error message that is not meant to be relayed to customer as it might tip off people who are trying to commit fraud
|
void |
setPropertyName(String value)
Returned only if the error relates to a value that was missing or incorrect.
Contains a location path to the value as a JSonata query. Some common examples:
|
void |
setRequestId(String value)
ID of the request that can be used for debugging purposes
|
public String getCategory()
public void setCategory(String value)
public String getCode()
public void setCode(String value)
public Integer getHttpStatusCode()
public void setHttpStatusCode(Integer value)
public String getId()
public void setId(String value)
public String getMessage()
public void setMessage(String value)
public String getPropertyName()
public void setPropertyName(String value)
public String getRequestId()
public void setRequestId(String value)
Copyright © 2024 Worldline Global Collect. All rights reserved.