6.1.38
by Curtis Hovey
Move errors to their own module. |
1 |
__all__ = [ |
6.1.51
by Curtis Hovey
Added a rudimentary put_archive. |
2 |
'ArchiveIdExists', |
3 |
'ArchiveIdNotFound', |
|
6.1.38
by Curtis Hovey
Move errors to their own module. |
4 |
'MessageIdNotFound', |
5 |
'UnparsableDateRange', |
|
6 |
'UnsupportedDisplayType', |
|
7 |
'UnsupportedOrder', |
|
8 |
]
|
|
9 |
||
10 |
||
6.1.51
by Curtis Hovey
Added a rudimentary put_archive. |
11 |
class ArchiveIdExists(Exception): |
12 |
"""An archive matching the archive_id was found in the store."""
|
|
13 |
||
6.1.41
by Curtis Hovey
Raise ArchiveIdNotFound if the client puts a message into an unknown archive. |
14 |
class ArchiveIdNotFound(Exception): |
15 |
"""No archive matching the archive_id was found in the store."""
|
|
16 |
||
6.1.38
by Curtis Hovey
Move errors to their own module. |
17 |
class MessageIdNotFound(Exception): |
18 |
"""No message matching the message_id was found in the archive."""
|
|
19 |
||
20 |
||
21 |
class UnparsableDateRange(Exception): |
|
22 |
"""The date_range was not in the format of 2012-01-01..2012-01-31."""
|
|
23 |
||
24 |
||
25 |
class UnsupportedDisplayType(Exception): |
|
26 |
"""Raised when an Unsupported display_type is requested."""
|
|
27 |
||
28 |
||
29 |
class UnsupportedOrder(Exception): |
|
30 |
"""Raised when an Unsupported order is requested."""
|