~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
1
__all__ = [
2
 
    'ArchiveIdExists',
3
 
    'ArchiveIdNotFound',
4
2
    'MessageIdNotFound',
5
3
    'UnparsableDateRange',
6
4
    'UnsupportedDisplayType',
8
6
    ]
9
7
 
10
8
 
11
 
class ArchiveIdExists(Exception):
12
 
    """An archive matching the archive_id was found in the store."""
13
 
 
14
9
class ArchiveIdNotFound(Exception):
15
10
    """No archive matching the archive_id was found in the store."""
16
11