~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-17 21:36:11 UTC
  • mto: This revision was merged to the branch mainline in revision 45.
  • Revision ID: curtis.hovey@canonical.com-20120317213611-9r5y3wa9dzoonczv
Clean up python-oddities.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
__metaclass__ = type
1
2
__all__ = [
2
3
    'ArchiveIdExists',
3
4
    'ArchiveIdNotFound',
11
12
class ArchiveIdExists(Exception):
12
13
    """An archive matching the archive_id was found in the store."""
13
14
 
 
15
 
14
16
class ArchiveIdNotFound(Exception):
15
17
    """No archive matching the archive_id was found in the store."""
16
18
 
 
19
 
17
20
class MessageIdNotFound(Exception):
18
21
    """No message matching the message_id was found in the archive."""
19
22