MCPcopy Create free account
hub / github.com/Effect-TS/effect / getErrorReported

Function getErrorReported

packages/effect/src/Runtime.ts:399–407  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

397 * @since 4.0.0
398 */
399export const getErrorReported = (u: unknown): boolean => {
400 if (typeof u === "object" && u !== null && errorReported in u) {
401 const isReported = u[errorReported]
402 if (typeof isReported === "boolean") {
403 return isReported
404 }
405 }
406 return true
407}

Callers 1

makeRunMainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected