And another thing just came up ...

In the case of PlcStructs it is possible there are problems with individual 
properties. 
Right now we can only support a global return code for the entire field, but 
not for sub-properties.
So right now we generally have the case that:
- A PlcValue was correct -> the status is OK and the value is the PlcValue
- There was a problem -> the status is not OK and the value is nil

So I was thinking if it wouldn't make sense to have a PlcError type which is a 
PlcValue and this could be used to return non-ok cases ...

Cause with this, I could signal errors inside a PlcList and PlcStruct and 
wouldn't have to mark either all or nothing

What do you think?

Chris


Reply via email to