Open jefffriesen opened 9 months ago
Hi @jefffriesen, can warnings go into a warnings array so that we can parse through both errors and warnings accordingly?
@lukeduran looking into this now
@lukeduran I agree a warning array would be better and are now planning on doing that. A few points:
Current, if there is any legitimate error, the modeling engine will pass back warnings (which can generally be ignored). If there are no true errors, warnings are not passed back. So we get a situation like this:
Our defaulting engine may include a dishwasher or not, depending on regional characteristics, which is desired behavior. If the API user wants to specify a dishwasher they can, otherwise they can leave it up to us. The real error is compressorType.
We will try to remove the dishwasher and other irrelevant warnings from error messages.