kaneo (minimalist kanban) fork to experiment adding a tangled integration
github.com/usekaneo/kaneo
1import { ErrorDisplay } from "./error-display";
2
3export function ErrorTest() {
4 const testError = new Error(
5 "Failed to connect to API server at https://api.andrej.com. This might be due to CORS configuration issues or the server not running. Please check your environment variables and server status.",
6 );
7
8 return (
9 <div className="p-4">
10 <h2 className="text-lg font-semibold mb-4">Error Handling Test</h2>
11 <ErrorDisplay
12 error={testError}
13 title="Test Error"
14 className="min-h-[300px]"
15 />
16 </div>
17 );
18}