MCPcopy Create free account
hub / github.com/ReAPI-com/mcp-openapi / SpecScanError

Class SpecScanError

src/core/SpecScanner.ts:16–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 * Custom error class for spec scanning related errors
15 */
16export 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected