MCPcopy Create free account
hub / github.com/Effect-TS/effect / defaultOnError

Function defaultOnError

packages/platform/node-shared/src/NodeStream.ts:450–450  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

448}
449
450const defaultOnError = (error: unknown): Cause.UnknownError => new Cause.UnknownError(error)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected