feat: Added Partners, Backgrounds, and related variation selections to commander building.

This commit is contained in:
matt 2025-10-06 09:17:59 -07:00
parent 641b305955
commit d416c9b238
65 changed files with 11835 additions and 691 deletions

View file

@ -585,6 +585,14 @@ class CommanderThemeError(CommanderValidationError):
"""
super().__init__(message, code="CMD_THEME_ERR", details=details)
class CommanderPartnerError(CommanderValidationError):
"""Raised when partner or background pairing validation fails."""
def __init__(self, message: str, details: dict | None = None):
super().__init__(message, details=details)
self.code = "CMD_PARTNER_ERR"
class CommanderMoveError(DeckBuilderError):
"""Raised when there are issues moving the commander to the top of the library.