moto/moto/emr/exceptions.py
2021-12-28 21:26:56 -01:00

17 lines
529 B
Python

from moto.core.exceptions import JsonRESTError
class InvalidRequestException(JsonRESTError):
def __init__(self, message, **kwargs):
super().__init__("InvalidRequestException", message, **kwargs)
class ValidationException(JsonRESTError):
def __init__(self, message, **kwargs):
super().__init__("ValidationException", message, **kwargs)
class ResourceNotFoundException(JsonRESTError):
def __init__(self, message, **kwargs):
super().__init__("ResourceNotFoundException", message, **kwargs)