From 88f0f22ef1fbee0d9e446aa136e3cd35917c49b9 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Mon, 5 Jan 2004 15:48:47 +0000 Subject: added errors from Generator.py (Logical change 1.8) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@28 ce84e21b-d406-0410-9b95-82705330c041 --- src/Error.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/Error.py b/src/Error.py index e315b02da..61177da99 100644 --- a/src/Error.py +++ b/src/Error.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# $Id$ class NodeConfigurationError(Exception): def __init__(self,node,etype): @@ -7,3 +8,10 @@ class NodeConfigurationError(Exception): def __str__(self): return "NCE: %s:%s"%(self.node,self.etype) + +class GeneratorError(Exception): + pass + +class PublishError(Exception): + pass + -- cgit v1.2.3-1-g7c22