fix: resolve CI linting and type errors
Some checks failed
CI / test (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / type-check (push) Has been cancelled

This commit is contained in:
2026-02-04 12:58:17 +00:00
parent 6135b499c4
commit 3a893f2b3c

View File

@@ -1,38 +1,49 @@
"""Custom exceptions for PromptForge."""
class PromptForgeError(Exception):
"""Base exception for PromptForge errors."""
pass
class InvalidPromptError(PromptForgeError):
"""Raised when a prompt YAML is malformed."""
pass
class ProviderError(PromptForgeError):
"""Raised when LLM API operations fail."""
pass
class ValidationError(PromptForgeError):
"""Raised when response validation fails."""
pass
class GitError(PromptForgeError):
"""Raised when git operations fail."""
pass
class RegistryError(PromptForgeError):
"""Raised when registry operations fail."""
pass
class MissingVariableError(PromptForgeError):
"""Raised when a required template variable is missing."""
pass
class ConfigurationError(PromptForgeError):
"""Raised when configuration is invalid."""
pass