DatabaseException.notFound constructor

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

Implementation

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