2014-08-27 15:17:06 +00:00
|
|
|
from __future__ import unicode_literals
|
2014-06-20 21:31:19 +00:00
|
|
|
class MessageNotInflight(Exception):
|
|
|
|
description = "The message referred to is not in flight."
|
|
|
|
status_code = 400
|
|
|
|
|
|
|
|
|
|
|
|
class ReceiptHandleIsInvalid(Exception):
|
|
|
|
description = "The receipt handle provided is not valid."
|
|
|
|
status_code = 400
|