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

Class M

packages/platform/node/test/OpenApi.test.ts:341–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339
340 it("middleware error", () => {
341 class M extends HttpApiMiddleware.Service<M>()("Http/Logger", {
342 error: Schema.String
343 .pipe(
344 HttpApiSchema.status(405),
345 HttpApiSchema.asText()
346 )
347 }) {}
348
349 const Api = HttpApi.make("api")
350 .add(

Callers

nothing calls this directly

Calls 2

pipeMethod · 0.65
statusMethod · 0.45

Tested by

no test coverage detected