moto/moto/wafv2/exceptions.py
2022-01-14 18:51:49 -01:00

14 lines
372 B
Python

from moto.core.exceptions import RESTError
class WAFv2ClientError(RESTError):
code = 400
class WAFV2DuplicateItemException(WAFv2ClientError):
def __init__(self):
super().__init__(
"WafV2DuplicateItem",
"AWS WAF could not perform the operation because some resource in your request is a duplicate of an existing one.",
)