(message: string, operation: string, cause?: Error)
| 143 | */ |
| 144 | export class VectorError extends CodeGraphError { |
| 145 | constructor(message: string, operation: string, cause?: Error) { |
| 146 | super(message, 'VECTOR_ERROR', { operation, cause: cause?.message }); |
| 147 | this.name = 'VectorError'; |
| 148 | if (cause) { |
| 149 | this.cause = cause; |
| 150 | } |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected