~ubuntu-branches/ubuntu/trusty/beaker/trusty

« back to all changes in this revision

Viewing changes to beaker/exceptions.py

  • Committer: Bazaar Package Importer
  • Author(s): Oleksandr Moskalenko
  • Date: 2008-09-30 13:20:11 UTC
  • mfrom: (1.1.7 upstream) (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20080930132011-89m6m6agr26tc7e0
Tags: 1.0.2-1
* New upstream release.
* debian/control:
  - Removed XS-Python-Version - not needed by python-support.
  - Removed XB-Python-Version - not needed by python-support.
  - Removed python (>= 2.3.3) from Build-Depends - not needed by
    python-support.
  - Removed python from Depends. Only ${python:Depends} is necessary there.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
"""Beaker exception classes"""
 
2
 
1
3
class BeakerException(Exception):
2
4
    pass
3
5
 
 
6
 
 
7
class CreationAbortedError(Exception):
 
8
    """an exception that allows a creation function to abort what it's
 
9
    doing"""
 
10
 
 
11
 
4
12
class InvalidCacheBackendError(BeakerException):
5
13
    pass
6
14
 
 
15
 
7
16
class MissingCacheParameter(BeakerException):
8
17
    pass
9
18
 
 
19
 
10
20
class LockError(BeakerException):
11
21
    pass