moto/moto/sqs/exceptions.py
2014-08-27 11:33:55 -04:00

10 lines
288 B
Python

from __future__ import unicode_literals
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