mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-17 08:00:13 +01:00
feat: Added Partners, Backgrounds, and related variation selections to commander building.
This commit is contained in:
parent
641b305955
commit
d416c9b238
65 changed files with 11835 additions and 691 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue