Hyperlinkv0.8.0-beta.28

Node

Node.ServiceNotReadyclasssrc/internal/nodeCore.ts:1141

The peer serves the target resource, but reports it not ready (ready: false). Surfaced by Hyperlink.verifyConnection(node, { deep: true, resource }).

errorsHyperlink.verifyConnection
export class ServiceNotReady extends Data.TaggedError("ServiceNotReady")<{
  readonly node: string;
  readonly url: string;
  readonly resource: string;
  readonly detail?: string;
}> {
  override get message() {
    const why = this.detail !== undefined ? ` (${this.detail})` : "";
    return `Node "${this.node}" serves "${this.resource}" but it is not ready${why}.`;
  }
}
Referenced by 1 symbols