moto/moto/appconfig/exceptions.py
2023-06-11 14:45:26 +00:00

20 lines
627 B
Python

"""Exceptions raised by the appconfig service."""
from moto.core.exceptions import JsonRESTError
class AppNotFoundException(JsonRESTError):
def __init__(self) -> None:
super().__init__("ResourceNotFoundException", "Application not found")
class ConfigurationProfileNotFound(JsonRESTError):
def __init__(self) -> None:
super().__init__("ResourceNotFoundException", "ConfigurationProfile not found")
class ConfigurationVersionNotFound(JsonRESTError):
def __init__(self) -> None:
super().__init__(
"ResourceNotFoundException", "HostedConfigurationVersion not found"
)