(message: string, operation: string, cause?: Error)
| 113 | readonly operation: string; |
| 114 | |
| 115 | constructor(message: string, operation: string, cause?: Error) { |
| 116 | super(message, 'DATABASE_ERROR', { operation, cause: cause?.message }); |
| 117 | this.name = 'DatabaseError'; |
| 118 | this.operation = operation; |
| 119 | if (cause) { |
| 120 | this.cause = cause; |
| 121 | } |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected