add some basic logging output to certmaster
[certmaster.git] / certmaster / minion / codes.py
1 """
2 func
3
4 Copyright 2007, Red Hat, Inc
5 See AUTHORS
6
7 This software may be freely redistributed under the terms of the GNU
8 general public license.
9
10 You should have received a copy of the GNU General Public License
11 along with this program; if not, write to the Free Software
12 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
13 """
14
15 import exceptions
16
17
18 class FuncException(exceptions.Exception):
19 pass
20
21
22 class InvalidMethodException(FuncException):
23 pass
24
25
26 class AccessToMethodDenied(FuncException):
27 pass
28
29 # FIXME: more sub-exceptions maybe