Files
Homarr/packages/widgets/src/errors/base.ts

11 lines
302 B
TypeScript
Raw Normal View History

import type { stringOrTranslation } from "@homarr/translation";
import type { TablerIcon } from "@homarr/ui";
export abstract class ErrorBoundaryError extends Error {
public abstract getErrorBoundaryData(): {
icon: TablerIcon;
message: stringOrTranslation;
showLogsLink: boolean;
};
}