We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhongweili/nanobanana-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
exceptions.py•898 B
"""Custom exceptions for the Nano Banana MCP Server."""
class NanoBananaError(Exception):
"""Base exception class for all Nano Banana errors."""
pass
class ConfigurationError(NanoBananaError):
"""Raised when there's a configuration issue."""
pass
class ValidationError(NanoBananaError):
"""Raised when input validation fails."""
pass
class GeminiAPIError(NanoBananaError):
"""Raised when Gemini API calls fail."""
pass
class ImageProcessingError(NanoBananaError):
"""Raised when image processing fails."""
pass
class FileOperationError(NanoBananaError):
"""Raised when file operations fail."""
pass
class AuthenticationError(NanoBananaError):
"""Base exception for authentication errors."""
pass
class ADCConfigurationError(AuthenticationError):
"""Raised when ADC/Vertex AI configuration is invalid."""
pass