DatabaseException class Null safety

Exception throw when there is a failure interacting with a Couchbase Lite database.

Inheritance

Constructors

DatabaseException(String message, DatabaseErrorCode code, {String? queryString, int? errorPosition})
Creates an exception which is thrown when there is a failure interacting with a Couchbase Lite database.

Properties

code DatabaseErrorCode
An optional error code specifies the cause of this exception.
final
errorPosition int?
If this is an query parsing exception the position of the error in the queryString.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
message String
A description of this exception.
final
queryString String?
If this is an query parsing exception the invalid query string.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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