Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

484 B
Raw Blame
/**
 * Failure raised anywhere in a skill sync run — repository access, skill
 * preparation, or database reconciliation. `code` is persisted on the sync
 * status document and surfaced through the admin API, so it must stay a stable
 * machine-readable identifier rather than a message.
 */
export class SkillSyncError extends Error {
  code: string;

  constructor(code: string, message: string) {
    super(message);
    this.name = 'SkillSyncError';
    this.code = code;
  }
}