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.

27 lines
451 B

10 years ago
"""EasyEngine exception classes."""
10 years ago
class EEError(Exception):
"""Generic errors."""
def __init__(self, msg):
Exception.__init__(self)
self.msg = msg
def __str__(self):
return self.msg
10 years ago
class EEConfigError(EEError):
"""Config related errors."""
pass
10 years ago
class EERuntimeError(EEError):
"""Generic runtime errors."""
pass
10 years ago
class EEArgumentError(EEError):
"""Argument related errors."""
pass