Merge pull request #142 from ddunbar/rdar31633275

[BuildSystem] Lift errors out of frontend API.