SushiSwap · Schema

ErrorResponse

DeFiDecentralized ExchangeDEXCryptocurrencyWeb3BlockchainMulti-ChainLiquiditySwapToken Pricing

Properties

Name Type Description
errorMessage string Description of the error
errorType string Type of the error
errorCode integer Error code (returned only when we have a blade code for the error)
data array Additional error data (returned only when the input data is invalid)
View JSON Schema on GitHub

JSON Schema

errorresponse.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "ErrorResponse",
  "type": "object",
  "properties": {
    "errorMessage": {
      "type": "string",
      "description": "Description of the error"
    },
    "errorType": {
      "type": "string",
      "description": "Type of the error"
    },
    "errorCode": {
      "type": "integer",
      "description": "Error code (returned only when we have a blade code for the error)"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Additional error data (returned only when the input data is invalid)"
    }
  },
  "required": [
    "errorMessage",
    "errorType"
  ]
}