Implement error checking on server side compilation