class MakiException(Exception):
def __init__(self, args=None):
self.args = args
class MakiReturn(MakiException):
"""Used as a signal to makiEngine that the rule should end early."""
pass
class MakiUseCache(MakiException):
"""Used as a signal to makiEngine that processing should end early and cached data can be used."""
pass
class MakiLogicError(MakiException):
"""Thrown by makiLogic when an exception occurs inside a maki:logic tag"""
pass
|