MCPcopy Create free account
hub / github.com/buct2012dbl/Dorchestrator / constructor

Method constructor

coding-agent/src/errors/errors.ts:34–42  ·  view source on GitHub ↗
(provider: string, message: string, context?: Record<string, any>)

Source from the content-addressed store, hash-verified

32
33export 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
45export class RateLimitError extends AppError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected