GraphQLError
//fluxbase-kotlin/io.github.nimbleflux.fluxbase.graphql/GraphQLError
GraphQLError
Section titled “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.
Constructors
Section titled “Constructors”| GraphQLError | [jvm] constructor(message: String, locations: List<GraphQLErrorLocation>? = null, path: List<JsonElement>? = null) |
Properties
Section titled “Properties”| Name | Summary |
|---|---|
| locations | [jvm] val locations: List<GraphQLErrorLocation>? |
| message | [jvm] val message: String |
| path | [jvm] val path: List<JsonElement>? |