public class ApiError
extends java.lang.Object
Representation of an individual error handling an API request.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getField()
Returns the field that this error applies to.
|
java.util.Map<java.lang.String,java.lang.String> |
getLinks()
Returns the IDs of related objects.
|
java.lang.String |
getMessage()
Returns a message describing the problem.
|
java.lang.String |
getReason()
Returns a key identifying the reason for this error.
|
java.lang.String |
getRequestPointer()
Returns the request pointer, indicating the exact field of the request that triggered the validation error
|
java.lang.String |
toString() |
public java.lang.String getMessage()
Returns a message describing the problem.
public java.lang.String getReason()
Returns a key identifying the reason for this error.
public java.lang.String getField()
Returns the field that this error applies to.
public java.lang.String getRequestPointer()
Returns the request pointer, indicating the exact field of the request that triggered the validation error
public java.util.Map<java.lang.String,java.lang.String> getLinks()
Returns the IDs of related objects.
public java.lang.String toString()
toString
in class java.lang.Object