(message: string, filePath: string, cause?: Error)
| 68 | readonly filePath: string; |
| 69 | |
| 70 | constructor(message: string, filePath: string, cause?: Error) { |
| 71 | super(message, 'FILE_ERROR', { filePath, cause: cause?.message }); |
| 72 | this.name = 'FileError'; |
| 73 | this.filePath = filePath; |
| 74 | if (cause) { |
| 75 | this.cause = cause; |
| 76 | } |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected