Error

November 20, 2019 ยท View on GitHub

Description

Represents an error encountered during a request to the Connect API. See Handling errors for more information.

Properties

NameGetterSetterTypeDescriptionNotes
categorygetCategory()setCategory($value)stringThe high-level category for the error. See `ErrorCategory` for possible values. See ErrorCategory for possible values
codegetCode()setCode($value)stringThe specific code of the error. See `ErrorCode` for possible values See ErrorCode for possible values
detailgetDetail()setDetail($value)stringA human-readable description of the error for debugging purposes.[optional]
fieldgetField()setField($value)stringThe name of the field provided in the original request (if any) that the error pertains to.[optional]

Note: All properties are protected and only accessed via getters and setters.

[Back to Model list] [Back to API list] [Back to README]