1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/usr/bin/env python # $Id$ class NodeConfigurationError(Exception): def __init__(self,node,etype): self.node=node self.etype=etype def __str__(self): return "NCE: %s:%s"%(self.node,self.etype) class GeneratorError(Exception): pass class PublishError(Exception): pass