hasFieldErrors() hasFieldErrors() : boolean Returns a boolean indicating whether there are any field errors. Returns boolean — true if there are field errors; false otherwise.
getFieldErrors() getFieldErrors() : array Returns a list containing all field errors. Returns array — list of field errors.
describe() describe() : string Returns a description of the error. Returns string — Description of the error.
getErrorData() getErrorData() : array Returns a map of all error data returned by the API. Returns array — a map containing API error data.
getStatus() getStatus() : string Returns the HTTP status for the request. Returns string — HTTP status code (or null if there is no status).
getReference() getReference() : string Returns unique reference for the API error. Returns string — a reference (or null if there is no reference).
getErrorCode() getErrorCode() : string Returns an code for the API error. Returns string — the error code.