root / qa / qa_error.py @ ebe8ef17
History | View | Annotate | Download (1 kB)
1 | cec9845c | Michael Hanselmann | # Copyright (C) 2007 Google Inc.
|
---|---|---|---|
2 | cec9845c | Michael Hanselmann | #
|
3 | cec9845c | Michael Hanselmann | # This program is free software; you can redistribute it and/or modify
|
4 | cec9845c | Michael Hanselmann | # it under the terms of the GNU General Public License as published by
|
5 | cec9845c | Michael Hanselmann | # the Free Software Foundation; either version 2 of the License, or
|
6 | cec9845c | Michael Hanselmann | # (at your option) any later version.
|
7 | cec9845c | Michael Hanselmann | #
|
8 | cec9845c | Michael Hanselmann | # This program is distributed in the hope that it will be useful, but
|
9 | cec9845c | Michael Hanselmann | # WITHOUT ANY WARRANTY; without even the implied warranty of
|
10 | cec9845c | Michael Hanselmann | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11 | cec9845c | Michael Hanselmann | # General Public License for more details.
|
12 | cec9845c | Michael Hanselmann | #
|
13 | cec9845c | Michael Hanselmann | # You should have received a copy of the GNU General Public License
|
14 | cec9845c | Michael Hanselmann | # along with this program; if not, write to the Free Software
|
15 | cec9845c | Michael Hanselmann | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
16 | cec9845c | Michael Hanselmann | # 02110-1301, USA.
|
17 | cec9845c | Michael Hanselmann | |
18 | cec9845c | Michael Hanselmann | |
19 | cec9845c | Michael Hanselmann | class Error(Exception): |
20 | cec9845c | Michael Hanselmann | """An error occurred during Q&A testing.
|
21 | cec9845c | Michael Hanselmann |
|
22 | cec9845c | Michael Hanselmann | """
|
23 | cec9845c | Michael Hanselmann | pass
|
24 | cec9845c | Michael Hanselmann | |
25 | cec9845c | Michael Hanselmann | |
26 | cec9845c | Michael Hanselmann | class OutOfNodesError(Error): |
27 | cec9845c | Michael Hanselmann | """Out of nodes.
|
28 | cec9845c | Michael Hanselmann |
|
29 | cec9845c | Michael Hanselmann | """
|
30 | cec9845c | Michael Hanselmann | pass
|
31 | cec9845c | Michael Hanselmann | |
32 | cec9845c | Michael Hanselmann | |
33 | cec9845c | Michael Hanselmann | class OutOfInstancesError(Error): |
34 | cec9845c | Michael Hanselmann | """Out of instances.
|
35 | cec9845c | Michael Hanselmann |
|
36 | cec9845c | Michael Hanselmann | """
|
37 | cec9845c | Michael Hanselmann | pass
|
38 | 4b62db14 | Michael Hanselmann | |
39 | 4b62db14 | Michael Hanselmann | |
40 | 4b62db14 | Michael Hanselmann | class UnusableNodeError(Error): |
41 | 4b62db14 | Michael Hanselmann | """Unusable node.
|
42 | 4b62db14 | Michael Hanselmann |
|
43 | 4b62db14 | Michael Hanselmann | """
|
44 | 4b62db14 | Michael Hanselmann | pass |