KgqlError

data class KgqlError(message: String, locations: List<KgqlErrorLocation>, description: String, validationErrorType: String, queryPath: List<String>)

GraphQL error

Constructors

KgqlError
Link copied to clipboard
common
fun KgqlError(message: String, locations: List<KgqlErrorLocation> = emptyList(), description: String, validationErrorType: String, queryPath: List<String> = emptyList())

Functions

component1
Link copied to clipboard
common
operator fun component1(): String
component2
Link copied to clipboard
common
operator fun component2(): List<KgqlErrorLocation>
component3
Link copied to clipboard
common
operator fun component3(): String
component4
Link copied to clipboard
common
operator fun component4(): String
component5
Link copied to clipboard
common
operator fun component5(): List<String>
copy
Link copied to clipboard
common
fun copy(message: String, locations: List<KgqlErrorLocation> = emptyList(), description: String, validationErrorType: String, queryPath: List<String> = emptyList()): KgqlError
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

description
Link copied to clipboard
common
val description: String
locations
Link copied to clipboard
common
val locations: List<KgqlErrorLocation>
message
Link copied to clipboard
common
val message: String
queryPath
Link copied to clipboard
common
val queryPath: List<String>
validationErrorType
Link copied to clipboard
common
val validationErrorType: String