BetSolutions · Schema

ErrorResponse

Error response returned when a request fails.

BettingCasinosGamingGamblingSlotsSports Betting

Properties

Name Type Description
success boolean Always false for error responses.
errorCode integer Numeric error code.
errorMessage string Human-readable error description.
View JSON Schema on GitHub

JSON Schema

betsolutions-errorresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ErrorResponse",
  "title": "ErrorResponse",
  "type": "object",
  "description": "Error response returned when a request fails.",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Always false for error responses.",
      "example": false
    },
    "errorCode": {
      "type": "integer",
      "description": "Numeric error code.",
      "example": 400
    },
    "errorMessage": {
      "type": "string",
      "description": "Human-readable error description.",
      "example": "Invalid hash signature."
    }
  }
}