The connector_exception.py module#

Summary#

ConnectorException

Provides top-level exceptions for connectors.

ConnectorConnectionException

Exception when connection information is invalid.

UnauthorizedConnectionException

Exception when the connection is not authorized.

HTTPResponseException

Exception when the connection returns other than 200.

InvalidElementJsonFoundException

Exception when the received JSON data is invalid.

ProjectNotFoundException

Exception when the requested project is not found.

ElementNotFoundException

Exception when the requested element is not found.

InvalidProjectNameException

Exception when the name given for a project is not correct.

ProjectAlreadyExistsException

Exception when a project with the same name already exists.

BadRequestConnectionException

Exception when request is invalid.

DiagramConnectorException

Exception when trying to download diagrams.

DiagramNotAvailableException

Exception when diagram functionality is not available for the project.

Description#

Custom exceptions for connector-related errors.