import { createSignal, onMount } from "solid-js"; export default function ErrorTest() { const [shouldCrash, setShouldCrash] = createSignal(false); if (shouldCrash()) { throw new Error("Test error - Error boundary triggered!"); } return (
Click the button below to trigger the error boundary