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

Method message

packages/effect/src/http/HttpClientError.ts:381–384  ·  view source on GitHub ↗

* Builds the response decoding error message from the response status, optional description, and request details. * * @stability unstable * @since 4.0.0

()

Source from the content-addressed store, hash-verified

379 * @since 4.0.0
380 */
381 override get message() {
382 const info = `${this.response.status} ${this.methodAndUrl}`
383 return formatMessage(formatReason(this._tag), this.description, info)
384 }
385
386 override toJSON(): unknown {
387 return reasonToJSON(this, super.toJSON())

Callers

nothing calls this directly

Calls 2

formatMessageFunction · 0.85
formatReasonFunction · 0.85

Tested by

no test coverage detected