summaryrefslogtreecommitdiffstats
path: root/src/Error.py
blob: 61177da993e8e959747848564aa51e3a390198d7 (plain)
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