| 14 | * Custom error class for spec scanning related errors |
| 15 | */ |
| 16 | export class SpecScanError extends Error { |
| 17 | constructor( |
| 18 | message: string, |
| 19 | public readonly filename: string, |
| 20 | public readonly cause?: Error |
| 21 | ) { |
| 22 | super(message); |
| 23 | this.name = "SpecScanError"; |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | /** |
| 28 | * Default implementation of the SpecScanner interface |
nothing calls this directly
no outgoing calls
no test coverage detected