Source code for acore_server_metadata.exc
# -*- coding: utf-8 -*-
[docs]class ServerNotFoundError(Exception):
"""
Raises when a :class:`~acore_server_metadata.server.Server` is not found.
"""
pass
[docs]class ServerNotUniqueError(Exception):
"""
Raises when there are multiple :class:`~acore_server_metadata.server.Server`
has the same id.
"""
pass
[docs]class ServerAlreadyExistsError(Exception):
"""
Raises when try to launch a new EC2 or DB instance when there is already
a existing one.
"""
[docs]class FailedToStartServerError(Exception):
"""
Raises when the current EC2 and RDS state is not ready for
:meth:`acore_server_metadata.server.server_operation.ServerOperation.start_server`
"""