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

Method message

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

* Builds the status code 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

339 * @since 4.0.0
340 */
341 override get message() {
342 const info = `${this.response.status} ${this.methodAndUrl}`
343 return formatMessage(formatReason(this._tag), this.description, info)
344 }
345
346 override toJSON(): unknown {
347 return reasonToJSON(this, super.toJSON())

Callers

nothing calls this directly

Calls 2

formatMessageFunction · 0.85
formatReasonFunction · 0.85

Tested by

no test coverage detected