Skip to main content
Glama
changesets-errors.esm.js895 B
import ExtendableError from 'extendable-error'; class GitError extends ExtendableError { constructor(code, message) { super(`${message}, exit code: ${code}`); this.code = code; } } class ValidationError extends ExtendableError {} class ExitError extends ExtendableError { constructor(code) { super(`The process exited with code: ${code}`); this.code = code; } } class PreExitButNotInPreModeError extends ExtendableError { constructor() { super("pre mode cannot be exited when not in pre mode"); } } class PreEnterButInPreModeError extends ExtendableError { constructor() { super("pre mode cannot be entered when in pre mode"); } } class InternalError extends ExtendableError { constructor(message) { super(message); } } export { ExitError, GitError, InternalError, PreEnterButInPreModeError, PreExitButNotInPreModeError, ValidationError };

Latest Blog Posts

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/ajaystream/hubspot-mcp-custom'

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