MCPcopy
hub / github.com/supermacro/neverthrow / asyncBad

Function asyncBad

tests/safe-try.test.ts:137–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135 return okAsync(okValue)
136 }
137 function asyncBad(): ResultAsync<number, string> {
138 return errAsync(errValue)
139 }
140
141 test("mayFail2 error", () => {
142 function myFunc(): Result<number, string> {

Callers 1

myFuncFunction · 0.85

Calls 1

errAsyncFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…