Skip to main content
Glama

Taiga MCP Server

by ssaurabh9
exceptions.py1.04 kB
"""Custom exceptions for Taiga MCP server.""" class TaigaMCPError(Exception): """Base exception for all Taiga MCP errors.""" pass class AuthenticationError(TaigaMCPError): """Raised when authentication with Taiga API fails.""" pass class TaigaAPIError(TaigaMCPError): """Raised when a Taiga API request fails.""" def __init__(self, message: str, status_code: int | None = None) -> None: super().__init__(message) self.status_code = status_code class ResourceNotFoundError(TaigaAPIError): """Raised when a requested resource is not found.""" def __init__(self, resource_type: str, identifier: str) -> None: super().__init__(f"{resource_type} with identifier '{identifier}' not found", 404) self.resource_type = resource_type self.identifier = identifier class ValidationError(TaigaMCPError): """Raised when input validation fails.""" pass class ConfigurationError(TaigaMCPError): """Raised when configuration is invalid or missing.""" pass

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/ssaurabh9/taiga-mcp'

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