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

Method message

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

* Builds the invalid URL error message from the optional description and request details. * * @stability unstable * @since 4.0.0

()

Source from the content-addressed store, hash-verified

299 * @since 4.0.0
300 */
301 override get message() {
302 return formatMessage(formatReason(this._tag), this.description, this.methodAndUrl)
303 }
304
305 override toJSON(): unknown {
306 // The cause holds the URL as sent, which may include a redacted path param.

Callers

nothing calls this directly

Calls 2

formatMessageFunction · 0.85
formatReasonFunction · 0.85

Tested by

no test coverage detected