(provider: string, message: string, context?: Record<string, any>)
| 32 | |
| 33 | export class ProviderError extends AppError { |
| 34 | constructor(provider: string, message: string, context?: Record<string, any>) { |
| 35 | super( |
| 36 | `Provider ${provider} error: ${message}`, |
| 37 | 'PROVIDER_ERROR', |
| 38 | 502, |
| 39 | true, |
| 40 | { provider, ...context } |
| 41 | ); |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | export class RateLimitError extends AppError { |
nothing calls this directly
no outgoing calls
no test coverage detected