Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
15
export
function
isHandledError(err: unknown): err is HandledError {
16
return
has(err, handledErrorSymbol);
17
}
18
19
export
function
unwrapHandledError(
20
err: HandledError
Callers
2
handled-error.test.ts
File · 0.90
errorHandlerSaga
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected