* Returns `true` when the value is a `SocketError`. * * @since 4.0.0
(u: unknown)
| 370 | * @since 4.0.0 |
| 371 | */ |
| 372 | static is(u: unknown): u is SocketError { |
| 373 | return isSocketError(u) |
| 374 | } |
| 375 | |
| 376 | override readonly message = this.reason.message |
| 377 | } |
nothing calls this directly
no test coverage detected