(response: Response)
| 19 | } |
| 20 | |
| 21 | async function parseErrorBody(response: Response): Promise<string> { |
| 22 | try { |
| 23 | const text = await response.text() |
| 24 | return text.trim() |
| 25 | } catch { |
| 26 | return '' |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | export function getNoumenaWebSearchBaseUrl(): string { |
| 31 | return ( |
no test coverage detected