Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ isWorkerError
Function
isWorkerError
packages/effect/src/workers/WorkerError.ts:32–32 ·
view source on GitHub ↗
(u: unknown)
Source
from the content-addressed store, hash-verified
30
* @since 4.0.0
31
*/
32
export
const
isWorkerError = (u: unknown): u is WorkerError => hasProperty(u, TypeId)
33
34
/**
35
* Worker error reason
for
failures
while
spawning or setting up a worker.
Callers
2
WorkerError.test.ts
File · 0.90
Worker.test.ts
File · 0.90
Calls
1
hasProperty
Function · 0.90
Tested by
no test coverage detected