QueryException<T> class
Null safety
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.
read-onlyinherited
- message → String?
-
final
-
offendingItems
→ List<
String> ? -
final
- response → Response
-
read-onlyoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- 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 non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited