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

10 lines
190 B
JavaScript

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