Cardano · Schema

Error

Internal error representation

BlockchainCryptocurrencyProof-of-StakeSmart ContractsWeb3

Properties

Name Type Description
label string optional label
message string error message
View JSON Schema on GitHub

JSON Schema

Error.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://cardano.blockfrost.io/schema/Error",
  "title": "Error",
  "description": "Internal error representation",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "message"
  ],
  "properties": {
    "label": {
      "description": "optional label",
      "type": "string"
    },
    "message": {
      "description": "error message",
      "type": "string",
      "example": "An error occurred, the operation could not be completed"
    }
  },
  "example": {
    "label": "Internal error",
    "message": "An error occurred, the operation could not be completed"
  }
}