QueryException<T> class

An exception describing an issue with a query.

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

Implemented types

Constructors

QueryException(QueryExceptionEvent event, {String? message, T? underlyingException, List<String>? offendingItems})
QueryException.conflict(String? message, List<String>? offendingItems, {T? underlyingException})
QueryException.input(String? message, List<String>? offendingItems, {T? underlyingException})
QueryException.transport(String? message, {T? underlyingException})

Properties

event QueryExceptionEvent
The type of event that caused this exception.
final
hashCode int
The hash code for this object.
no setterinherited
message String?
final
offendingItems List<String>?
final
response Response
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
underlyingException → T?
The exception generated by the PersistentStore or other mechanism that caused Query to fail.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited