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

Function isHandlerError

packages/effect/src/http-api/HttpApiBuilder.ts:1174–1174  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

1172 }
1173}
1174const isHandlerError = (value: unknown): value is HandlerError => hasProperty(value, HandlerErrorTypeId)
1175
1176const $HttpServerResponse = Schema.declare(Response.isHttpServerResponse)
1177

Callers 1

makeSecurityMiddlewareFunction · 0.85

Calls 1

hasPropertyFunction · 0.90

Tested by

no test coverage detected