DatabaseException.unavailable constructor

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

Implementation

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