({
error,
event,
status,
message,
})
| 2 | import type { HandleClientError } from "@sveltejs/kit"; |
| 3 | |
| 4 | export const handleError: HandleClientError = async ({ |
| 5 | error, |
| 6 | event, |
| 7 | status, |
| 8 | message, |
| 9 | }) => { |
| 10 | if (error && status !== 404) { |
| 11 | posthog.captureException(error); |
| 12 | } |
| 13 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected