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.

807 B
Raw Blame
import {
  AxiosHttpErrorHandler,
  FetchHttpErrorHandler,
  OctokitHttpErrorHandler,
  OFetchHttpErrorHandler,
  TsdavHttpErrorHandler,
} from "@homarr/common/server";

import { IntegrationHttpErrorHandler } from "./integration-http-error-handler";

export const integrationFetchHttpErrorHandler = new IntegrationHttpErrorHandler(new FetchHttpErrorHandler());
export const integrationOFetchHttpErrorHandler = new IntegrationHttpErrorHandler(new OFetchHttpErrorHandler());
export const integrationAxiosHttpErrorHandler = new IntegrationHttpErrorHandler(new AxiosHttpErrorHandler());
export const integrationTsdavHttpErrorHandler = new IntegrationHttpErrorHandler(new TsdavHttpErrorHandler());
export const integrationOctokitHttpErrorHandler = new IntegrationHttpErrorHandler(new OctokitHttpErrorHandler());