add errorType to razor compilation message.