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

Method toJSON

packages/effect/src/http/HttpClientError.ts:305–309  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

303 }
304
305 override toJSON(): unknown {
306 // The cause holds the URL as sent, which may include a redacted path param.
307 const { cause: _, ...rest } = reasonToJSON(this, super.toJSON()) as Record<string, unknown>
308 return rest
309 }
310}
311
312/**

Callers

nothing calls this directly

Calls 2

reasonToJSONFunction · 0.85
toJSONMethod · 0.65

Tested by

no test coverage detected