Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ onError
Function
onError
packages/effect/src/unstable/http/Multipart.ts:484–486 ·
view source on GitHub ↗
(error_)
Source
from the content-addressed store, hash-verified
482
}
483
},
484
onError(error_) {
485
exit = Option.some(Exit.fail(convertError(error_)))
486
},
487
onDone() {
488
if
(Option.isNone(exit)) {
489
exit = Option.some(Exit.fail(Cause.Done()))
Callers
2
make
Function · 0.50
stop
Function · 0.50
Calls
3
some
Method · 0.80
convertError
Function · 0.70
fail
Method · 0.45
Tested by
no test coverage detected