Description of individual errors that may have occurred during a request.

messagestringrequired

Description about individual errors occurred

codeinteger(int64)required
Example

Pizza menu Item

pricestring
descriptionstring
namestringrequired
imagestring
Example

Pizza Order

customerNamestring
deliveredboolean
addressstring
pizzaTypestring
creditCardNumberstring
quantitynumber
orderIdstringrequired
Example

Error object returned with 4XX HTTP status

messagestringrequired

Error message.

errorarray

If there are more than one error list them out. Ex. list out validation errors by each field.

Show Child Parameters
descriptionstring

A detail description about the error message.

codeinteger(int64)required
moreInfostring

Preferably an url with more details about the error.

Example