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

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