Skip to main content
Glama

DollhouseMCP

by DollhouseMCP
errors.tsโ€ข791 B
/** * Security-related error classes */ export class SecurityError extends Error { public readonly code?: string; constructor(message: string, code?: string) { super(message); this.name = 'SecurityError'; this.code = code; // Maintains proper prototype chain for instanceof checks Object.setPrototypeOf(this, SecurityError.prototype); } } export class ValidationError extends Error { constructor(message: string) { super(message); this.name = 'ValidationError'; Object.setPrototypeOf(this, ValidationError.prototype); } } export class TimeoutError extends SecurityError { constructor(message: string = 'Operation timed out') { super(message); this.name = 'TimeoutError'; Object.setPrototypeOf(this, TimeoutError.prototype); } }

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/DollhouseMCP/DollhouseMCP'

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