check for errors in wrapper highstate compiled state
Add raw check for errors in pkg lowstate
Merge pull request #16721 from thatch45/16702

Add error checks to highstate per #16702