(params: {
message: string
filePath: string
line?: number
code: 'ENOENT' | 'PARSE' | 'UNKNOWN'
cause?: unknown
})
| 204 | readonly cause?: unknown |
| 205 | |
| 206 | constructor(params: { |
| 207 | message: string |
| 208 | filePath: string |
| 209 | line?: number |
| 210 | code: 'ENOENT' | 'PARSE' | 'UNKNOWN' |
| 211 | cause?: unknown |
| 212 | }) { |
| 213 | super(params.message) |
| 214 | this.name = 'TranscriptParseError' |
| 215 | this.filePath = params.filePath |
| 216 | this.line = params.line |
| 217 | this.code = params.code |
| 218 | this.cause = params.cause |
| 219 | } |
| 220 | } |
| 221 | |
| 222 | export function isEphemeralToolProgress(dataType: unknown): boolean { |
nothing calls this directly
no outgoing calls
no test coverage detected