(
public vendor: string,
public symbol: string,
detail?: string,
)
| 13 | /** No usable rows (empty result OR stale data). */ |
| 14 | export class NoMarketDataError extends VendorError { |
| 15 | constructor( |
| 16 | public vendor: string, |
| 17 | public symbol: string, |
| 18 | detail?: string, |
| 19 | ) { |
| 20 | super(`[${vendor}] no market data for ${symbol}${detail ? `: ${detail}` : ""}`); |
| 21 | this.name = "NoMarketDataError"; |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | /** Rate limited — router skips to the next vendor in the chain. */ |
nothing calls this directly
no outgoing calls
no test coverage detected