(error: string)
| 126 | } |
| 127 | |
| 128 | setError(error: string) { |
| 129 | this.clearDetail(); |
| 130 | // Solid red circle |
| 131 | this.header.setText(`${theme.error(CIRCLE)} ${this.toolTitle}`); |
| 132 | const detail = new Text(`${theme.muted('⎿ ')}${theme.error(`Error: ${truncateAtWord(error, 80)}`)}`, 0, 0); |
| 133 | this.completedDetails.push(detail); |
| 134 | this.addChild(detail); |
| 135 | } |
| 136 | |
| 137 | setLimitWarning(warning?: string) { |
| 138 | this.clearDetail(); |
nothing calls this directly
no test coverage detected