from __future__ import absolute_import, division, print_function

__version__ = "1.7.2"


def version():
    """Returns the version number of the installed workflows package."""
    return __version__


class Error(Exception):
    """Common class for exceptions deliberately raised by workflows package."""


class Disconnected(Error):
    """Indicates the connection could not be established or has been lost."""


class AuthenticationFailed(Error):
    """Indicates the connection could not be established due to incorrect credentials."""


# Legacy error names, 20180319
WorkflowsError = Error
DisconnectedError = Disconnected
AuthenticationError = AuthenticationFailed

@@ -411,263 +411,4 @@
 %22%22%22%0A
-%0A%0Aclass AuthenticationFailed(Error):%0A    %22%22%22Indicates the connection could not be established due to incorrect credentials.%22%22%22%0A%0A%0A# Legacy error names, 20180319%0AWorkflowsError = Error%0ADisconnectedError = Disconnected%0AAuthenticationError = AuthenticationFailed%0A

remove deprecated exception types