Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ causeFail
Function
causeFail
packages/effect/src/internal/core.ts:286–286 ·
view source on GitHub ↗
(error: E)
Source
from the content-addressed store, hash-verified
284
285
/** @internal */
286
export
const
causeFail = <E>(error: E): Cause.Cause<E> =>
new
CauseImpl([
new
Fail(error)])
287
288
/** @internal */
289
export
class
Die extends ReasonBase<
"Die"
> implements Cause.Die {
Callers
1
exitFail
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected