Describes the Error return for a set of 400 or 500 error returns
The error model is a set of error code and messages that describe the error that happened in the system.
| Name | Type | Notes |
|---|---|---|
| ErrorCode | '''string''' | A fixed string error message that can be used |
| Message | '''string''' | A short human readable message |
| MoreInfoURL | '''string''' | A link to the document website that goes into more detail about this error and how to fix it. |
| UserMessage | '''string''' | A longer form human readable message on how to solve the problem or give details about the nature of the error |
{
"ErrorCode": "exchange.invalid.productLine",
"Message": "The product line is not recognized",
"MoreInfoUrl": "docs.GiftDeals.com/reference/exchange.invalid.productLine",
"UserMessage": "There is a misconfiguration of the product line. Please check the id that was sent into the api call to make sure it matches a product line id that was sent from the supportedProductLine API call"
}
