didier/database/exceptions/currency.py

14 lines
412 B
Python

__all__ = ["DoubleNightly", "NotEnoughDinks", "SavingsCapExceeded"]
class DoubleNightly(Exception):
"""Exception raised when claiming nightlies multiple times per day"""
class NotEnoughDinks(Exception):
"""Exception raised when trying to do something you don't have the Dinks for"""
class SavingsCapExceeded(Exception):
"""Exception raised when trying to save more Dinks than the cap allows"""