Skip to main content
Glama
exceptions.py665 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

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/zhongweili/nanobanana-mcp-server'

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