Exceptions

PyLabware exceptions

exception PyLabware.exceptions.PLConnectionError[source]

Bases: ConnectionError

Generic connection error, base class.

exception PyLabware.exceptions.PLConnectionProtocolError[source]

Bases: PLConnectionError

Error in transport protocol.

exception PyLabware.exceptions.PLConnectionTimeoutError[source]

Bases: PLConnectionError

Connection timeout error.

exception PyLabware.exceptions.PLDeviceCommandError[source]

Bases: PLDeviceError

Error in processing device command.

This should be any error arising BEFORE the command has been sent to a device.

exception PyLabware.exceptions.PLDeviceError[source]

Bases: Exception

Generic device error, base class.

exception PyLabware.exceptions.PLDeviceInternalError[source]

Bases: PLDeviceReplyError

Error returned by device as a response to command.

exception PyLabware.exceptions.PLDeviceReplyError[source]

Bases: PLDeviceError

Error in processing device reply.

This should be any error arising AFTER the command has been sent to the device.