You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
246 B

  1. class StormError(Exception):
  2. """
  3. Base class for exceptions in Storm.
  4. """
  5. def __init__(self, message):
  6. """
  7. Constructor.
  8. :param message: Error message.
  9. """
  10. self.message = "Storm: " + message