mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-05-19 12:33:27 +02:00
21 lines
649 B
Python
21 lines
649 B
Python
class CharacterFileFormatError(ValueError):
|
|
"""The given file is not a valid Dungeons and Dragons file."""
|
|
|
|
class DiceError(ValueError):
|
|
"""Improper formatting for a dice string."""
|
|
|
|
class LatexError(OSError):
|
|
"""PDFLatex did not execute correctly."""
|
|
|
|
class LatexNotFoundError(LatexError):
|
|
"""PDFLatex did not execute correctly."""
|
|
|
|
class MonsterError(AttributeError):
|
|
"""Error retriving or using a D&D Monster."""
|
|
|
|
class JSONFormatError(RuntimeError):
|
|
"""The JSON file doesn't conform to the understood formats."""
|
|
|
|
class UnknownFileType(RuntimeError):
|
|
"""The input file does not match one of the known formats."""
|