DatabaseException constructor

DatabaseException(
  1. String message,
  2. DatabaseErrorCode code, {
  3. String? queryString,
  4. int? errorPosition,
})

Creates an exception which is thrown when there is a failure interacting with a Couchbase Lite database.

Implementation

DatabaseException(
  this.message,
  this.code, {
  this.queryString,
  this.errorPosition,
});