moto/moto/personalize/exceptions.py
2023-04-08 20:44:26 +00:00

14 lines
359 B
Python

"""Exceptions raised by the personalize service."""
from moto.core.exceptions import JsonRESTError
class PersonalizeException(JsonRESTError):
pass
class ResourceNotFoundException(PersonalizeException):
def __init__(self, arn: str):
super().__init__(
"ResourceNotFoundException", f"Resource Arn {arn} does not exist."
)