Mercurial > libervia-backend
comparison src/core/exceptions.py @ 589:d1b4805124a1
Fix pep8 support in src/core.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 18 Jan 2013 17:55:35 +0100 |
parents | 0bb2e0d1c878 |
children | 84a6e83157c2 |
comparison
equal
deleted
inserted
replaced
588:beaf6bec2fcd | 589:d1b4805124a1 |
---|---|
17 | 17 |
18 You should have received a copy of the GNU Affero General Public License | 18 You should have received a copy of the GNU Affero General Public License |
19 along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 along with this program. If not, see <http://www.gnu.org/licenses/>. |
20 """ | 20 """ |
21 | 21 |
22 | |
22 class ProfileUnknownError(Exception): | 23 class ProfileUnknownError(Exception): |
23 pass | 24 pass |
25 | |
24 | 26 |
25 class ProfileNotInCacheError(Exception): | 27 class ProfileNotInCacheError(Exception): |
26 pass | 28 pass |
27 | 29 |
30 | |
28 class NotConnectedProfileError(Exception): | 31 class NotConnectedProfileError(Exception): |
29 pass | 32 pass |
33 | |
30 | 34 |
31 class UnknownEntityError(Exception): | 35 class UnknownEntityError(Exception): |
32 pass | 36 pass |
33 | 37 |
38 | |
34 class UnknownGroupError(Exception): | 39 class UnknownGroupError(Exception): |
35 pass | 40 pass |
41 | |
36 | 42 |
37 class NotFound(Exception): | 43 class NotFound(Exception): |
38 pass | 44 pass |
39 | 45 |
46 | |
40 class DataError(Exception): | 47 class DataError(Exception): |
41 pass | 48 pass |