MCPcopy Create free account
hub / github.com/Effect-TS/effect / message

Method message

packages/tools/ai-codegen/src/PostProcess.ts:48–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 readonly cause: unknown
47}> {
48 override get message(): string {
49 const lines: Array<string> = [
50 `${this.step} failed for ${this.filePath}`,
51 `command: ${this.command}`
52 ]
53 if (this.exitCode !== undefined) {
54 lines.push(`exit code: ${this.exitCode}`)
55 }
56 if (this.stderr.length > 0) {
57 lines.push(`stderr:\n${this.stderr}`)
58 }
59 if (this.stdout.length > 0) {
60 lines.push(`stdout:\n${this.stdout}`)
61 }
62 return lines.join("\n")
63 }
64}
65
66/**

Callers

nothing calls this directly

Calls 2

pushMethod · 0.80
joinMethod · 0.80

Tested by

no test coverage detected