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