QuerySchemaValidationException

class QuerySchemaValidationException(message: String, cause: Throwable? = null, val violation: QueryViolation? = null) : QuerySchemaException

A query that does not fit its model or the model's storage: QueryErrors.INVALID with the violation it breaks. Without a violation it is a schema that does not validate, a server fault (QueryErrors.FAILED).

Constructors

Link copied to clipboard
constructor(message: String, cause: Throwable? = null, violation: QueryViolation? = null)
constructor(violation: QueryViolation)

Properties

Link copied to clipboard

One binding error per violation: its field (or "" for the model), its text and its stable code.

Link copied to clipboard
open override val errorCode: String

One of QueryErrors.

Link copied to clipboard

The structured violation, when the check that failed states one.