(message: string, query: string, cause?: Error)
| 129 | readonly query: string; |
| 130 | |
| 131 | constructor(message: string, query: string, cause?: Error) { |
| 132 | super(message, 'SEARCH_ERROR', { query, cause: cause?.message }); |
| 133 | this.name = 'SearchError'; |
| 134 | this.query = query; |
| 135 | if (cause) { |
| 136 | this.cause = cause; |
| 137 | } |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected