Files
dungeon-sheets/dungeonsheets/exceptions.py
T
Mark Wolfman 0e543deee9 Added Druid wild shapes, tweaked armor, and fixed some bugs.
Druid's can now add ``wild_shapes = `` to their character file. "Light
leather armor" is now just "Leather Armor".
2018-10-21 02:09:15 -05:00

15 lines
440 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."""