(
message: string,
public readonly code:
| "INIT_ERROR"
| "PERSIST_ERROR"
| "LOAD_ERROR"
| "SCAN_ERROR",
public readonly cause?: Error
)
| 23 | */ |
| 24 | export class SpecServiceError extends Error { |
| 25 | constructor( |
| 26 | message: string, |
| 27 | public readonly code: |
| 28 | | "INIT_ERROR" |
| 29 | | "PERSIST_ERROR" |
| 30 | | "LOAD_ERROR" |
| 31 | | "SCAN_ERROR", |
| 32 | public readonly cause?: Error |
| 33 | ) { |
| 34 | super(message); |
| 35 | this.name = "SpecServiceError"; |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | export class FileSystemSpecService implements ISpecStore, ISpecExplorer { |
nothing calls this directly
no outgoing calls
no test coverage detected