SqlxDecodeError class final
Error produced while decoding a row into a Dart object.
Constructors
- SqlxDecodeError(String message, {Object? cause, Driver? driver, String? operation})
-
Creates one decode error.
const
Properties
- category → SqlxErrorCategory
-
Error category used for filtering or structured logs.
no setteroverride
- cause → Object?
-
Original decode error, when available.
final
- driver → Driver?
-
Database driver that produced the error, when known.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable error message.
final
- operation → String?
-
Operation that failed, such as a SQL string or migration name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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