14 lines
251 B
JavaScript
14 lines
251 B
JavaScript
|
import React from 'react';
|
||
|
|
||
|
/**
|
||
|
* IntentionalError:
|
||
|
* For testing logging/monitoring & previewing ErrorBoundary design.
|
||
|
*/
|
||
|
export default class IntentionalError extends React.Component {
|
||
|
|
||
|
render() {
|
||
|
throw 'This error is intentional.';
|
||
|
}
|
||
|
|
||
|
}
|