You are viewing documentation for a previous version of this software.

Switch to the latest stable version.

GraphQLError


STRUCT

GraphQLError

Swift
1public struct GraphQLError: Error

Represents an error encountered during the execution of a GraphQL operation.

Properties

message

Swift
1public var message: String?

A description of the error.

locations

Swift
1public var locations: [Location]?

A list of locations in the requested GraphQL document associated with the error.

extensions

Swift
1public var extensions: [String : Any]?

A dictionary which services can use however they see fit to provide additional information in errors to clients.

Methods

init(_:)

Swift
1public init(_ object: JSONObject)
Feedback

Edit on GitHub

Forums