(message: string, code = 'unknown_error')
| 35 | code: string; |
| 36 | |
| 37 | constructor(message: string, code = 'unknown_error') { |
| 38 | super(message); |
| 39 | this.name = 'ApiClientError'; |
| 40 | this.code = code; |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | async function requestJson<T>(input: RequestInfo, init?: RequestInit): Promise<T> { |
nothing calls this directly
no outgoing calls
no test coverage detected