mini_racer/examples/source-map-support/error-causing-component.jsx

10 lines
190 B
React
Raw Normal View History

function throwSomeError() {
throw new Error(
"^^ Look! These stack traces map to the actual source code :)"
);
}
export const ErrorCausingComponent = () => {
throwSomeError();
};