(error: Error)
| 150 | } |
| 151 | |
| 152 | error(error: Error): this { |
| 153 | if (error === this.lastError) |
| 154 | // don't store duplicate identical error twice |
| 155 | return this; |
| 156 | |
| 157 | this.errored = true; |
| 158 | this.lastError = error; |
| 159 | this.log('Stack', error?.stack || ''); |
| 160 | |
| 161 | return this; |
| 162 | } |
| 163 | |
| 164 | refer(ref: SegmentRef): this { |
| 165 | if (!this.refs.includes(ref)) { |
nothing calls this directly
no outgoing calls
no test coverage detected