"""Custom exceptions for FastMCP."""
from mcp import McpError # noqa: F401
class FastMCPError(Exception):
"""Base error for FastMCP."""
class ValidationError(FastMCPError):
"""Error in validating parameters or return values."""
class ResourceError(FastMCPError):
"""Error in resource operations."""
class ToolError(FastMCPError):
"""Error in tool operations."""
class PromptError(FastMCPError):
"""Error in prompt operations."""
class InvalidSignature(Exception):
"""Invalid signature for use with FastMCP."""
class ClientError(Exception):
"""Error in client operations."""
class NotFoundError(Exception):
"""Object not found."""
class DisabledError(Exception):
"""Object is disabled."""