Skip to main content
Glama

Github Project Manager

documentation-error.ts1.16 kB
/** * Base error class for documentation generation errors */ export class DocumentationError extends Error { constructor(message: string) { super(message); this.name = 'DocumentationError'; } } /** * Error thrown when invalid parameters are provided */ export class InvalidParametersError extends DocumentationError { constructor(message: string) { super(message); this.name = 'InvalidParametersError'; } } /** * Error thrown when document generation fails */ export class GenerationFailedError extends DocumentationError { constructor(message: string) { super(message); this.name = 'GenerationFailedError'; } } /** * Error thrown when the AI service returns an error */ export class AIServiceError extends DocumentationError { constructor(message: string) { super(message); this.name = 'AIServiceError'; } } /** * Error thrown when environment validation fails */ export class EnvironmentValidationError extends DocumentationError { constructor(message: string) { super(message); this.name = 'EnvironmentValidationError'; } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Monsoft-Solutions/model-context-protocols'

If you have feedback or need assistance with the MCP directory API, please join our Discord server