MssqlRowNotFoundException class
Raised when a row a caller said must exist does not.
getById, firstOrFail and single all promise a row; this is what that
promise costs when it cannot be kept.
- Inheritance
-
- Object
- MssqlOrmException
- MssqlRowNotFoundException
Constructors
- MssqlRowNotFoundException(String table, Object? key)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Object?
-
The key or predicate description that found nothing. Null when the query
was a filter rather than a key lookup.
final
- message → String
-
A sentence naming what happened and, where there is one, what to do.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- table → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited