Question - While writing an error message what all things you need to take into consideration? 
          
        
        Answer - 
        
You need to take following things in consideration
- Don’t use negative words
 - Clearly mention the error so that the user knows what to correct
 - Give user a clue or link to solve the error
 - Put the blame on yourself and not on the user