MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / err

Function err

src/common/result.ts:184–186  ·  view source on GitHub ↗
(error: string | Error)

Source from the content-addressed store, hash-verified

182}
183
184export function err<T>(error: string | Error): Result<T> {
185 return Result.err(error);
186}

Callers

nothing calls this directly

Calls 1

errMethod · 0.80

Tested by

no test coverage detected