1 2 3 4
class MoonCliException(Exception): def __init__(self, message): # Call the base class constructor with the parameters it needs super(MoonCliException, self).__init__(message)