public int getMaxLength() {
            return maxLength;
        }
A generic purpose error handler which terminates transaction and calls back given future with error message.
plc4j/drivers/s7/src/main/java/org/apache/plc4x/java/s7/readwrite/protocol/S7ProtocolLogic.java