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

Function isHandledError

client/src/utils/handled-error.ts:15–17  ·  view source on GitHub ↗
(err: unknown)

Source from the content-addressed store, hash-verified

13};
14
15export function isHandledError(err: unknown): err is HandledError {
16 return has(err, handledErrorSymbol);
17}
18
19export function unwrapHandledError(
20 err: HandledError

Callers 2

errorHandlerSagaFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected