({message, cause}: {message?: string; cause?: Error})
| 107 | override readonly status: undefined = undefined; |
| 108 | |
| 109 | constructor({message, cause}: {message?: string; cause?: Error}) { |
| 110 | super(undefined, undefined, message || 'Connection error.', undefined); |
| 111 | if (cause) (this as Error).cause = cause; |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | export class APIConnectionTimeoutError extends APIConnectionError { |
nothing calls this directly
no outgoing calls
no test coverage detected