Hyperlinkv0.8.0-beta.28

Node

Node.NodeUnreachableclasssrc/internal/nodeCore.ts:1079

A remote Node that didn't answer at its declared address — down, wrong port/url, or (for a socket node) a server not speaking the socket protocol. Surfaced eagerly by verifyConnection so a client fails fast at startup instead of hanging or erroring opaquely at the first call.

errorsNodeverifyConnection
export class NodeUnreachable extends Data.TaggedError("NodeUnreachable")<{
  readonly node: string;
  readonly url: string;
  readonly cause: unknown;
}> {
  override get message() {
    return `Node "${this.node}" did not respond at ${this.url} — is it running, and are the url and kind right?`;
  }
}
Referenced by 3 symbols