DatabaseException class

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.
no setterinherited
message String
A description of this exception.
final
queryString String?
If this is an query parsing exception the invalid query string.
final
remoteStackTrace StackTrace?
The StackTrace from the execution context where this exception originated from.
no setterinherited
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