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.

484 B
Raw Blame
import { IconPlugX } from "@tabler/icons-react";

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

import { ErrorBoundaryError } from "./base";

export class NoIntegrationSelectedError extends ErrorBoundaryError {
  constructor() {
    super("No integration selected");
  }

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