~unity-2d-team/unity-2d/Shell-MultiMonitor

« back to all changes in this revision

Viewing changes to grackle/error.py

  • Committer: Curtis Hovey
  • Date: 2012-03-16 16:12:13 UTC
  • mto: This revision was merged to the branch mainline in revision 45.
  • Revision ID: curtis.hovey@canonical.com-20120316161213-htrw58db1ojtl8d9
Always use an rfc822 message in tests.

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