Categorizations of query failures for QueryException.
Constants
- conflict → QueryExceptionEvent
-
This event is used when the underlying PersistentStore reports that a unique constraint was violated.
RequestControllers interpret this exception to return a status code 409 by default.
const QueryExceptionEvent(0)
- connectionFailure → QueryExceptionEvent
-
This event is used when the underlying PersistentStore cannot reach its database.
RequestControllers interpret this exception to return a status code 503 by default.
const QueryExceptionEvent(2)
- internalFailure → QueryExceptionEvent
-
This event is used when the underlying PersistentStore reports an issue with the form of a Query.
RequestControllers interpret this exception to return a status code 500 by default. This indicates to the programmer that the issue is with their code.
const QueryExceptionEvent(1)
- requestFailure → QueryExceptionEvent
-
This event is used when the underlying PersistentStore reports an issue with the data used in a Query.
RequestControllers interpret this exception to return a status code 400 by default.
const QueryExceptionEvent(3)
- values → List<QueryExceptionEvent>
-
A constant List of the values in this enum, in order of their declaration.
const List<QueryExceptionEvent>
Properties
- index → int
-
final
- hashCode → int
-
The hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited