1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
"""Exceptions raised by the lakeformation service."""
from moto.core.exceptions import JsonRESTError
class EntityNotFound(JsonRESTError):
def __init__(self) -> None:
super().__init__("EntityNotFoundException", "Entity not found")
class InvalidInput(JsonRESTError):
def __init__(self, message: str) -> None:
super().__init__("InvalidInputException", message)
class AlreadyExists(JsonRESTError):
def __init__(self, message: str) -> None:
super().__init__("AlreadyExistsException", message)
|