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

12 lines
325 B
Python

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