ErrorResult

open_in_new

A generic error result.

GraphQL Schema definition

  • type ErrorResult {
  • # Unique code for the error.
  • code: String!
  • # Extra information about the error. Actual content depends on the error.
  • extra: [ErrorResultExtra!]
  • # An associated HTTP code, if any. For example, the error `code` `"not.found"`
  • # will
  • # have `httpCode` 404.
  • httpCode: Int
  • # Human-readable message.
  • message: String!
  • # Boolean flag indicating whether the client should retry.
  • retry: Boolean
  • }