GraphQLError
STRUCT
GraphQLError
Swift
1public struct GraphQLError: ErrorRepresents 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)