Skip to content

GraphQLError

//fluxbase-kotlin/io.github.nimbleflux.fluxbase.graphql/GraphQLError

[jvm]
@Serializable

data class GraphQLError(val message: String, val locations: List<GraphQLErrorLocation>? = null, val path: List<JsonElement>? = null)

A GraphQL error. Port of GraphQLError from sdk/src/types.ts.

GraphQLError [jvm]
constructor(message: String, locations: List<GraphQLErrorLocation>? = null, path: List<JsonElement>? = null)
Name Summary
locations [jvm]
val locations: List<GraphQLErrorLocation>?
message [jvm]
val message: String
path [jvm]
val path: List<JsonElement>?