WIP WIP WIP, probably will crash at some point. Also the code in paths isn't working, so i'm merging them to constants in the next commit
44 lines
764 B
Python
44 lines
764 B
Python
from vollerei.exceptions import VollereiError
|
|
|
|
|
|
class GameError(VollereiError):
|
|
"""Base class for exceptions in related to the game installation."""
|
|
|
|
pass
|
|
|
|
|
|
class GameNotInstalledError(GameError):
|
|
"""Game is not installed."""
|
|
|
|
pass
|
|
|
|
|
|
class GameAlreadyUpdatedError(GameError):
|
|
"""Game is already updated."""
|
|
|
|
pass
|
|
|
|
|
|
class GameAlreadyInstalledError(GameError):
|
|
"""Game is already installed."""
|
|
|
|
pass
|
|
|
|
|
|
class ScatteredFilesNotAvailableError(GameError):
|
|
"""Scattered files are not available."""
|
|
|
|
pass
|
|
|
|
|
|
class GameNotUpdatedError(GameError):
|
|
"""Game is not updated."""
|
|
|
|
pass
|
|
|
|
|
|
class PreDownloadNotAvailable(GameError):
|
|
"""Pre-download version is not available."""
|
|
|
|
pass
|