List error types

errorTypes(category: String): ErrorCatalogPayload!

Arguments

ArgumentTypeRequiredDescription
categoryStringNoOptional category filter: AUTH, RESOURCE, VALIDATION, DATABASE, SUBSCRIPTION, INTEGRATION, or INTERNAL.

Response

Returns ErrorCatalogPayload!. Open the type for its fields and nested types.

FieldTypeDescription
data[ApiErrorType!]!List of error types

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

query.graphql
query ErrorTypes($category: String) {  errorTypes(category: $category) {    data {      slug      status      category      docs      suggestion    }  }}
variables.json
{}