MCPcopy Index your code
hub / github.com/garrytan/gstack / formatPortFailureDetail

Function formatPortFailureDetail

browse/src/server.ts:808–811  ·  view source on GitHub ↗
(attempt: FailedPortAttempt)

Source from the content-addressed store, hash-verified

806}
807
808function formatPortFailureDetail(attempt: FailedPortAttempt): string {
809 const { code, message } = attempt.result;
810 return code ? `${attempt.port} (${code}: ${message})` : `${attempt.port} (${message})`;
811}
812
813function formatExplicitPortUnavailableError(
814 port: number,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected