MCPcopy Create free account
hub / github.com/mlco2/codecarbon / ErrorMessage

Function ErrorMessage

webapp/src/components/error-message.tsx:4–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import { Alert, AlertTitle, AlertDescription } from "./ui/alert";
3
4export default function ErrorMessage() {
5 return (
6 <Alert className="border-none">
7 <Terminal className="h-4 w-4" />
8 <AlertTitle>An error occurred </AlertTitle>
9 <AlertDescription>
10 Please try again later or contact support.
11 </AlertDescription>
12 </Alert>
13 );
14}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…