moto/moto/sqs/exceptions.py

10 lines
288 B
Python
Raw Normal View History

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