import { Alert, AlertTitle, AlertDescription } from "./components/ui/alert"; import { Button } from "./components/ui/button"; import { AlertTriangleIcon, RefreshCwIcon } from "lucide-react"; export const ErrorFallback = ({ error, resetErrorBoundary }) => { // When encountering an error in the development mode, rethrow it and don't display the boundary. // The parent UI will take care of showing a more helpful dialog. if (import.meta.env.DEV) throw error; return (
This spark has encountered a runtime error Something unexpected happened while running the application. The error details are shown below. Contact the spark author and let them know about this issue.

Error Details:

            {error.message}
          
); }