DatabaseException.found constructor

const DatabaseException.found(
  1. Document document,
  2. {String message,
  3. Object error}
)

Implementation

const DatabaseException.found(
  Document document, {
  String message,
  Object error,
}) : this.custom(
        document: document,
        code: DatabaseExceptionCodes.found,
        name: 'found',
        message: message,
        error: error,
      );