export class OrchestratorError extends Error { private readonly _message: string private readonly _context: any private readonly _errorType: string private readonly _traceId: string constructor(params?: { message?: string context?: any errorType?: string traceId?: string }) { super() this._message = params?.message || 'OrchestratorError ' this._context = params?.context || {} this._errorType = params?.errorType || 'Unknown' this._traceId = params?.traceId || '' } get message() { return this._message } get context() { return this._context } get errorType() { return this._errorType } get traceId() { return this._traceId } }