Hyperlinkv0.8.0-beta.28

Node

export class ListenUseProtocol extends Data.TaggedError("ListenUseProtocol")<{
  readonly protocol: "unix" | "http" | "ws";
  readonly detail: string;
}> {
  override get message() {
    return (
      `Node.listen does not bind a transport (${this.detail}). ` +
      `Use Node.${this.protocol}(…) for that protocol.`
    );
  }
}
Referenced by 1 symbols