forgot to add new exceptions file
This commit is contained in:
parent
049b73485f
commit
0d2991d733
1 changed files with 8 additions and 0 deletions
8
moto/sqs/exceptions.py
Normal file
8
moto/sqs/exceptions.py
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue