(message: string, code: string, context?: Record<string, unknown>)
| 49 | readonly context?: Record<string, unknown>; |
| 50 | |
| 51 | constructor(message: string, code: string, context?: Record<string, unknown>) { |
| 52 | super(message); |
| 53 | this.name = 'CodeGraphError'; |
| 54 | this.code = code; |
| 55 | this.context = context; |
| 56 | |
| 57 | // Maintain proper stack trace for V8 |
| 58 | if (Error.captureStackTrace) { |
| 59 | Error.captureStackTrace(this, this.constructor); |
| 60 | } |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected