errorType

Get an API error type.

Arguments

  • slugString!required

    Error slug identifier (e.g. "insufficient-credits"). Returns solution steps and related errors.

Responses

query ErrorType($slug: String!) {  errorType(slug: $slug) {    slug    title    status    category    suggestion    docs    solution {      message      steps      example      tips      relatedErrors    }  }}
{  "data": {    "errorType": {      "slug": "string",      "title": "string",      "status": 0,      "category": "string",      "suggestion": "string",      "docs": "string",      "solution": {        "message": "string",        "steps": [          "string"        ],        "example": "string",        "tips": [          "string"        ],        "relatedErrors": [          "string"        ]      }    }  }}

The ApiErrorType in data.errorType.