Source code for honeycomb.servicemanager.exceptions

# -*- coding: utf-8 -*-
"""Honeycomb Service Manager Exceptions."""

from __future__ import unicode_literals, absolute_import

import honeycomb.exceptions
from honeycomb.servicemanager import error_messages


[docs]class ServiceManagerException(honeycomb.exceptions.PluginError): """Generic Service Manager Exception."""
[docs]class ServiceNotFound(ServiceManagerException): """Specified service does not exist.""" msg_format = error_messages.SERVICE_NOT_FOUND_ERROR
[docs]class UnsupportedOS(ServiceManagerException): """Specified service does not exist.""" msg_format = error_messages.UNSUPPORTED_OS_ERROR