MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / SentryExampleFrontendError

Class SentryExampleFrontendError

src/app/sentry-example-page/page.tsx:7–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5import { useState, useEffect } from "react";
6
7class SentryExampleFrontendError extends Error {
8 constructor(message: string | undefined) {
9 super(message);
10 this.name = "SentryExampleFrontendError";
11 }
12}
13
14export default function Page() {
15 const [hasSentError, setHasSentError] = useState(false);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected