Source code for ingenialink.exceptions

[docs]class ILError(Exception): """ IngeniaLink generic error. """ pass
[docs]class ILConfigurationError(ILError): """ IngeniaLink IPB protocol configuration error. """ pass
[docs]class ILUDPException(Exception): """ Ingenialink exception on UDP action. """ pass
[docs]class ILCreationError(ILError): """ IngeniaLink creation error. """ pass
[docs]class ILValueError(ILError): """ IngeniaLink value error. """ pass
[docs]class ILTimeoutError(ILError): """ IngeniaLink timeout error. """ pass
[docs]class ILAlreadyInitializedError(ILError): """ InteniaLink already initialized error. """ pass
[docs]class ILMemoryError(ILError): """ IngeniaLink memory error. """ pass
[docs]class ILDisconnectionError(ILError): """ IngeniaLink disconnection error. """ pass
[docs]class ILAccessError(ILError): """ IngeniaLink access error. """ pass
[docs]class ILStateError(ILError): """ IngeniaLink state error. """ pass
[docs]class ILIOError(ILError): """ IngeniaLink I/O error. """ pass
[docs]class ILNotSupportedError(ILError): """ IngeniaLink Not supported error. """ pass
[docs]class ILWrongRegisterError(ILError): """ IngeniaLink Wrong register error. """ pass
[docs]class ILRegisterNotFoundError(ILError): """ IngeniaLink register not found in dictionary. """ pass
[docs]class ILWrongCRCError(ILError): """ IngeniaLink Wrong CRC error. """ pass
[docs]class ILNACKError(ILError): """ IngeniaLink NACK error. """
# Configuration error
[docs]class ILIncorrectAccessType(ILConfigurationError): """ Incorrect access type configuration error. """ pass
[docs]class ILObjectNotExist(ILConfigurationError): """ Object doesn't exist configuration error. """ pass
[docs]class ILObjectNotCyclicMappable(ILConfigurationError): """ Object isn't cyclic mappable as requested configuration error. """ pass
[docs]class ILCyclicMappingTooLarge(ILConfigurationError): """ Cyclic mapping is too large configuration error. """ pass
[docs]class ILWrongCyclicKey(ILConfigurationError): """ Cyclic mapping key is wrong configuration error. """ pass
[docs]class ILWrongCyclicRegisterSize(ILConfigurationError): """ Mapped cyclic register size is wrong configuration error. """ pass
[docs]class ILCommunicationStateUnreachable(ILConfigurationError): """ Communication state is unreachable configuration error. """ pass
[docs]class ILCommunicationNotModifiable(ILConfigurationError): """ Communication setting is not modifiable in the current state configuration error. """ pass
[docs]class ILUnsupportedRegisterValue(ILConfigurationError): """ Unsupported value introduced in register configuration error. """ pass
[docs]class ILInvalidCommand(ILConfigurationError): """ Invalid command configuration error. """ pass
[docs]class ILCRCError(ILConfigurationError): """ CRC error configuration error. """ pass
[docs]class ILUnsupportedSynchronization(ILConfigurationError): """ Unsupported synchronization method configuration error. """ pass
[docs]class ILActiveFeedbacksHigherThanAllowed(ILConfigurationError): """ Number of active feedbacks is higher than allowed configuration error. """ pass
[docs]class ILCOMKITTimeout(ILConfigurationError): """ COMKIT Timeout. CORE device is not properly connected configuration error. """ pass