MCPcopy
hub / github.com/jef/streetmerchant / badStatusCode

Function badStatusCode

src/logger.ts:54–73  ·  view source on GitHub ↗
(
    link: Link,
    store: Store,
    statusCode: number,
    color?: boolean
  )

Source from the content-addressed store, hash-verified

52 } delay=${parameters.delay}`;
53 },
54 badStatusCode(
55 link: Link,
56 store: Store,
57 statusCode: number,
58 color?: boolean
59 ): string {
60 if (color) {
61 return (
62 '✖ ' +
63 buildProductString(link, store, true) +
64 ' :: ' +
65 chalk.yellow(`STATUS CODE ERROR ${statusCode}`)
66 );
67 }
68
69 return `✖ ${buildProductString(
70 link,
71 store
72 )} :: STATUS CODE ERROR ${statusCode}`;
73 },
74 bannedSeller(link: Link, store: Store, color?: boolean): string {
75 if (color) {
76 return (

Callers

nothing calls this directly

Calls 1

buildProductStringFunction · 0.85

Tested by

no test coverage detected