MCPcopy Create free account
hub / github.com/freeCodeCamp/freeCodeCamp / reportClientSideError

Function reportClientSideError

client/src/utils/report-error.ts:1–6  ·  view source on GitHub ↗
(
  e: Error,
  message = 'Unhandled error'
)

Source from the content-addressed store, hash-verified

1export function reportClientSideError(
2 e: Error,
3 message = 'Unhandled error'
4): void {
5 console.error(`Client: ${message}`, e);
6}

Callers 1

errorHandlerSagaFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected