moto/moto/mediapackage/exceptions.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
335 B
Python
Raw Normal View History

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):
2023-04-03 23:50:19 +01:00
def __init__(self, error: str, message: str):
2022-01-14 18:51:49 -01:00
super().__init__(error, message)