didier/database/exceptions/currency.py

14 lines
412 B
Python
Raw Normal View History

2024-03-04 00:48:17 +01:00
__all__ = ["DoubleNightly", "NotEnoughDinks", "SavingsCapExceeded"]
2022-07-11 22:23:38 +02:00
2022-06-30 21:17:48 +02:00
class DoubleNightly(Exception):
"""Exception raised when claiming nightlies multiple times per day"""
2022-07-03 17:44:16 +02:00
class NotEnoughDinks(Exception):
"""Exception raised when trying to do something you don't have the Dinks for"""
2024-03-01 14:18:58 +01:00
class SavingsCapExceeded(Exception):
"""Exception raised when trying to save more Dinks than the cap allows"""