Skip to main content
Glama

Poker Task Management MCP

by Hirao-Y
errors.js923 B
// utils/errors.js export class ValidationError extends Error { constructor(message, field = null, value = null) { super(message); this.name = 'ValidationError'; this.field = field; this.value = value; this.code = 'VALIDATION_ERROR'; } } export class PhysicsError extends Error { constructor(message, type = 'PHYSICS_VIOLATION') { super(message); this.name = 'PhysicsError'; this.code = type; } } export class DataError extends Error { constructor(message, operation = null) { super(message); this.name = 'DataError'; this.operation = operation; this.code = 'DATA_ERROR'; } } export class CalculationError extends Error { constructor(message, type = 'CALCULATION_ERROR', context = {}, mcpErrorCode = null) { super(message); this.name = 'CalculationError'; this.code = type; this.context = context; this.mcpErrorCode = mcpErrorCode; } }

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/Hirao-Y/poker_mcp'

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