DatabaseException class

Wrap sqlite native exception

Implemented types

Constructors

DatabaseException(String _message)
Create an exception with a message

Properties

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

Methods

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