@dhlab/error-boundary
Version:
A universal React error boundary library that works with any router
8 lines • 617 B
TypeScript
export { ApiErrorBoundary, type TApiErrorBoundaryProps, } from "./components/api-error-boundary";
export { ErrorBoundary, type TErrorBoundaryProps, } from "./components/error-boundary";
export * from "react-error-boundary";
export { ErrorBoundary as BaseErrorBoundary } from "react-error-boundary";
export type { TPartialErrorConfig as PartialErrorConfig, TErrorConfigElementType as ErrorConfigElementType, } from "./types/api-error";
export { getErrorConfig } from "./utils/api-error";
export { HTTP_ERROR_CONFIG, HTTP_ERROR_ACTION_CONFIG, } from "./constants/http-error-message";
//# sourceMappingURL=index.d.ts.map