An exception describing an issue with a query.

A suggested HTTP status code based on the type of exception will always be available.

Inheritance

Constructors

QueryException(QueryExceptionEvent event, { String message: null, Exception underlyingException: null })

Properties

event QueryExceptionEvent

The type of event that caused this exception.

final
underlyingException → Exception

The exception generated by the PersistentStore or other mechanism that caused Query to fail.

final
hashCode → int

The hash code for this object.

read-only, inherited
isControlFlowException → bool

Whether or not this is a control flow exception.

read / write, inherited
message → String

The message to return to the client.

final, inherited
response Response

A Response object derived from this exception.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited
statusCode → int

The status code of the Response.

final, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

toString() → String

Returns a string representation of this object.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited