2014-08-27 11:17:06 -04:00
|
|
|
from __future__ import unicode_literals
|
2014-06-20 16:31:19 -05: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
|