forgot to add new exceptions file

This commit is contained in:
Clint Ecker 2014-06-20 16:31:19 -05:00
parent 049b73485f
commit 0d2991d733

8
moto/sqs/exceptions.py Normal file
View File

@ -0,0 +1,8 @@
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