moto/moto/mediastoredata/exceptions.py
2021-10-18 19:44:29 +00:00

12 lines
346 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, message):
super(ClientError, self).__init__(error, message)