1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
__metaclass__ = type
__all__ = [
'ArchiveIdExists',
'ArchiveIdNotFound',
'MessageIdNotFound',
'UnparsableDateRange',
'UnsupportedDisplayType',
'UnsupportedOrder',
]
class ArchiveIdExists(Exception):
"""An archive matching the archive_id was found in the store."""
class ArchiveIdNotFound(Exception):
"""No archive matching the archive_id was found in the store."""
class MessageIdNotFound(Exception):
"""No message matching the message_id was found in the archive."""
class UnparsableDateRange(Exception):
"""The date_range was not in the format of 2012-01-01..2012-01-31."""
class UnsupportedDisplayType(Exception):
"""Raised when an Unsupported display_type is requested."""
class UnsupportedOrder(Exception):
"""Raised when an Unsupported order is requested."""
|