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

Method message

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

* Builds the empty body 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

418 * @since 4.0.0
419 */
420 override get message() {
421 const info = `${this.response.status} ${this.methodAndUrl}`
422 return formatMessage(formatReason(this._tag), this.description, info)
423 }
424
425 override toJSON(): unknown {
426 return reasonToJSON(this, super.toJSON())

Callers

nothing calls this directly

Calls 2

formatMessageFunction · 0.85
formatReasonFunction · 0.85

Tested by

no test coverage detected