~didrocks/unity/altf10

« back to all changes in this revision

Viewing changes to grackle/error.py

  • Committer: Curtis Hovey
  • Date: 2012-03-16 19:38:35 UTC
  • Revision ID: curtis.hovey@canonical.com-20120316193835-egu5tc1n0xlr5udj
Rename args to be honest about what is expected.

Show diffs side-by-side

added added

removed removed

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