pleroma/packages/pl-fe/src/features/intentional-error/index.tsx
marcin mikołajczak 4d5690d0c1 Switch to workspace
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-28 13:01:08 +02:00

11 lines
262 B
TypeScript

import React from 'react';
/**
* IntentionalError:
* For testing logging/monitoring & previewing ErrorBoundary design.
*/
const IntentionalError: React.FC = () => {
throw new Error('This error is intentional.');
};
export { IntentionalError as default };