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

Method toString

packages/effect/src/unstable/socket/Socket.ts:180–182  ·  view source on GitHub ↗

* Formats the close code and optional reason for display. * * @since 4.0.0

()

Source from the content-addressed store, hash-verified

178 * @since 4.0.0
179 */
180 toString() {
181 return this.reason ? `${this.code}: ${this.reason}` : `${this.code}`
182 }
183}
184
185/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected