[David/Kate] Extension to compiler result to check for errors