def exception(self, *args, **kwargs):
def decorator(handler):<EOL><INDENT>exception = FutureException(handler, args, kwargs)<EOL>self.exceptions.append(exception)<EOL>return handler<EOL><DEDENT>return decorator<EOL>
Create a blueprint exception from a decorated function.