QueryError

class QueryError(    val respondingTo: String,     val errorCode: Long,     val error: String)

QueryError is a query response that contains information about an error that is either:

  • directly caused by the Query; or

  • incidentally related to the Query

Constructors

Link copied to clipboard
fun QueryError(    respondingTo: String,     errorCode: Long,     error: String)

Construct a QueryError.

Properties

Link copied to clipboard
val error: String

The accompanying error message.

Link copied to clipboard
val errorCode: Long

The numeric error code identifying the error type.

Link copied to clipboard
val respondingTo: String

The original Query.id of the Query being responded to.