Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Effect-TS/effect
/ fail
Method
fail
packages/effect/src/StreamEmit.ts:60–60 ·
view source on GitHub ↗
* Terminates with the specified error.
(error: E)
Source
from the content-addressed store, hash-verified
58
* Terminates with the specified error.
59
*/
60
fail(error: E): Promise<B>
61
62
/**
63
* Either emits the success value of this effect or terminates the stream
Callers
15
httpClient.ts
File · 0.65
sendBody
Function · 0.65
onError
Function · 0.65
Sqlite.test.ts
File · 0.65
sqlite.ts
File · 0.65
onMessage
Function · 0.65
suite
Function · 0.65
loadMigration
Function · 0.65
make
Function · 0.65
single
Function · 0.65
Model.ts
File · 0.65
SqlPersistedQueue.ts
File · 0.65
Calls
no outgoing calls
Tested by
15
retrieve
Function · 0.52
worker
Function · 0.52
RateLimiterTestSuite
Function · 0.52
failInTheMiddle
Function · 0.52
assertConfigError
Function · 0.52
cond
Function · 0.52
chainError
Function · 0.52
f
Function · 0.52
io
Function · 0.52
ioFail
Function · 0.52
failOn0
Function · 0.52
alwaysFail
Function · 0.52