2021-11-01 21:02:09 -07:00
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* IntentionalError:
|
|
|
|
* For testing logging/monitoring & previewing ErrorBoundary design.
|
|
|
|
*/
|
2022-04-12 13:40:09 -07:00
|
|
|
const IntentionalError: React.FC = () => {
|
2023-10-21 16:27:55 -07:00
|
|
|
throw new Error('This error is intentional.');
|
2022-04-12 13:40:09 -07:00
|
|
|
};
|
2021-11-01 21:02:09 -07:00
|
|
|
|
2022-04-12 13:40:09 -07:00
|
|
|
export default IntentionalError;
|