UNPKG

@mseep/mcp-codex-keeper

Version:

An intelligent MCP server that serves as a guardian of development knowledge, providing AI assistants with curated access to latest documentation and best practices

28 lines 729 B
/** * Custom error for duplicate documentation */ export class DocAlreadyExistsError extends Error { constructor(name) { super(`Documentation with name "${name}" already exists`); this.name = 'DocAlreadyExistsError'; } } /** * Custom error for missing documentation */ export class DocNotFoundError extends Error { constructor(name) { super(`Documentation "${name}" not found`); this.name = 'DocNotFoundError'; } } /** * Custom error for invalid documentation URL */ export class InvalidDocUrlError extends Error { constructor(url) { super(`Invalid documentation URL: "${url}"`); this.name = 'InvalidDocUrlError'; } } //# sourceMappingURL=index.js.map