Initial commit

This commit is contained in:
Haris Musa
2025-02-16 22:39:18 +05:00
parent 09f4b2acb3
commit 4e82b8a7b2
18 changed files with 3200 additions and 0 deletions

View File

@ -0,0 +1,35 @@
class ExcelMCPError(Exception):
"""Base exception for Excel MCP errors."""
pass
class WorkbookError(ExcelMCPError):
"""Raised when workbook operations fail."""
pass
class SheetError(ExcelMCPError):
"""Raised when sheet operations fail."""
pass
class DataError(ExcelMCPError):
"""Raised when data operations fail."""
pass
class ValidationError(ExcelMCPError):
"""Raised when validation fails."""
pass
class FormattingError(ExcelMCPError):
"""Raised when formatting operations fail."""
pass
class CalculationError(ExcelMCPError):
"""Raised when formula calculations fail."""
pass
class PivotError(ExcelMCPError):
"""Raised when pivot table operations fail."""
pass
class ChartError(ExcelMCPError):
"""Raised when chart operations fail."""
pass