MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / constructor

Method constructor

packages/core/src/common/errors.ts:109–112  ·  view source on GitHub ↗
({message, cause}: {message?: string; cause?: Error})

Source from the content-addressed store, hash-verified

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
115export class APIConnectionTimeoutError extends APIConnectionError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected