SqfliteFfiException class

Ffi exception.

Inheritance
Implemented types

Constructors

SqfliteFfiException({required String code, required String message, Map<String, Object?>? details, int? resultCode})
Ffi exception.

Properties

code String
Error code.
final
database SqfliteFfiDatabase?
The database.
getter/setter pair
details Map<String, Object?>?
Error details.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String?
Our exception message
no setterinherited
result Object?
Typically the result of a native call
getter/setter pairinherited
resultMap Map
The result as a map
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sql String?
SQL statement.
getter/setter pair
sqlArguments List<Object?>?
SQL arguments.
getter/setter pair
transactionClosed bool
True if the current transaction has been rolled back in the execution
getter/setter pairinherited

Methods

getResultCode() int?
Get the (extended if available) result code.
inherited
isDatabaseClosedError() bool
True if the exception is a database closed error
inherited
isDuplicateColumnError([String? column]) bool
True if the exception is a duplicate column error
inherited
isNoSuchTableError([String? table]) bool
True if the exception is a no such table exception
inherited
isNotNullConstraintError([String? field]) bool
True if the exception is a not null constraint error
inherited
isOpenFailedError() bool
True if the exception is an open failed error
inherited
isReadOnlyError() bool
True if the exception is a read-only error
inherited
isSyntaxError() bool
True if the exception is a syntax error
inherited
isUniqueConstraintError([String? field]) bool
True if the exception is a unique constraint error
inherited
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