Skip to main content
Glama

docs-mcp-server

errors.ts662 B
/** * Base error class for all splitter-related errors */ export class SplitterError extends Error {} /** * Thrown when content cannot be split further while maintaining its validity * (e.g., markdown tables require headers, code blocks require language and backticks) */ export class MinimumChunkSizeError extends SplitterError { constructor(size: number, maxSize: number) { super( `Cannot split content any further. Content requires minimum chunk size of ${size} bytes, but maximum allowed is ${maxSize} bytes.`, ); } } /** * Generic error for content splitting failures */ export class ContentSplitterError extends SplitterError {}

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/arabold/docs-mcp-server'

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