moto/moto/mediastoredata/exceptions.py
2023-04-03 22:50:19 +00:00

12 lines
339 B
Python

from moto.core.exceptions import JsonRESTError
class MediaStoreDataClientError(JsonRESTError):
code = 400
# AWS service exceptions are caught with the underlying botocore exception, ClientError
class ClientError(MediaStoreDataClientError):
def __init__(self, error: str, message: str):
super().__init__(error, message)