moto/moto/opensearch/exceptions.py
2023-03-26 12:43:28 +00:00

8 lines
266 B
Python

"""Exceptions raised by the opensearch service."""
from moto.core.exceptions import JsonRESTError
class ResourceNotFoundException(JsonRESTError):
def __init__(self, name: str):
super().__init__("ResourceNotFoundException", f"Domain not found: {name}")