~didrocks/unity/altf10

« back to all changes in this revision

Viewing changes to grackle/error.py

  • Committer: Curtis Hovey
  • Date: 2012-03-17 22:45:15 UTC
  • Revision ID: curtis.hovey@canonical.com-20120317224515-r2n23tqc8cx7cul4
Only store the unique information needed by grackle.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
__metaclass__ = type
1
2
__all__ = [
 
3
    'ArchiveIdExists',
 
4
    'ArchiveIdNotFound',
2
5
    'MessageIdNotFound',
3
6
    'UnparsableDateRange',
4
7
    'UnsupportedDisplayType',
6
9
    ]
7
10
 
8
11
 
 
12
class ArchiveIdExists(Exception):
 
13
    """An archive matching the archive_id was found in the store."""
 
14
 
 
15
 
9
16
class ArchiveIdNotFound(Exception):
10
17
    """No archive matching the archive_id was found in the store."""
11
18
 
 
19
 
12
20
class MessageIdNotFound(Exception):
13
21
    """No message matching the message_id was found in the archive."""
14
22