pyrtma.exceptions

Exceptions

AcknowledgementTimeout

Raised when client does not receive ack from message manager.

ClientError

Base exception for all Client Errors.

ConnectionLost

Raised when there is a connection error with the server.

InvalidDestinationHost

Raised when client tries to send to an invalid host.

InvalidDestinationModule

Raised when client tries to send to an invalid module.

InvalidMessageDefinition

Raised when there is message definition is out of sync with sent data.

JSONDecodingError

Raised when there is an error decoding a message from json.

MessageManagerNotFound

Raised when unable to connect to message manager.

NotConnectedError

Raised when the client tries to read/write while not connected.

RTMAMessageError

Base exception for message errors.

SocketOptionError

Raised when unable to set socket options.

UnknownMessageType

Raised when there is no message definition.

VersionMismatchWarning

Raised when import message defs were compiled with a different pyrtma version