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