QueryTimeoutException

class QueryTimeoutException(val timeout: Duration, cause: Throwable? = null) : QueryExecutionException

A query that ran out of the execution time its budget gives it: QueryErrors.TIMEOUT (HTTP 503). The backend received the same timeout to bound the statement natively (statement_timeout, maxTimeMS); the core enforces it as well, so a backend that ignores it still fails here.

Constructors

Link copied to clipboard
constructor(timeout: Duration, cause: Throwable? = null)

Properties

Link copied to clipboard
open override val errorCode: String

One of QueryErrors.

Link copied to clipboard