Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

491 B
Raw Blame
import { IconDatabaseOff } from "@tabler/icons-react";

import type { TranslationFunction } from "@homarr/translation";

import { ErrorBoundaryError } from "./base";

export class NoIntegrationDataError extends ErrorBoundaryError {
  constructor() {
    super("No integration data available");
  }

  public getErrorBoundaryData() {
    return {
      icon: IconDatabaseOff,
      message: (t: TranslationFunction) => t("widget.common.error.noData"),
      showLogsLink: false,
    };
  }
}