~didrocks/unity/altf10

« back to all changes in this revision

Viewing changes to grackle/error.py

  • Committer: Aaron Bentley
  • Date: 2012-01-11 08:06:03 UTC
  • Revision ID: aaron@canonical.com-20120111080603-fxgo006hthzc89kq
check is PHONY

Show diffs side-by-side

added added

removed removed

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