From b6af0f00606943197a0ba30bfbc15864d9deca22 Mon Sep 17 00:00:00 2001 From: Manuel Desbonnet Date: Wed, 19 Sep 2012 08:50:57 +0100 Subject: [PATCH] Adding some exception classes Change-Id: I6835f4d20ef1e1d934f60bc096e79b63079f7e92 Reviewed-on: https://review.openstack.org/13270 Approved: James E. Blair Reviewed-by: James E. Blair Tested-by: Jenkins --- jenkins_jobs/errors.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 jenkins_jobs/errors.py diff --git a/jenkins_jobs/errors.py b/jenkins_jobs/errors.py new file mode 100644 index 000000000..75fa8154a --- /dev/null +++ b/jenkins_jobs/errors.py @@ -0,0 +1,9 @@ +"""Exception classes for jenkins_jobs errors""" + + +class JenkinsJobsException(Exception): + pass + + +class YAMLFormatError(JenkinsJobsException): + pass