How to add error on visualforce page through apex class and through visualforce page? How to add error through the trigger? What the common deployment issues you know? What are the best practices you follow and how is your thought process keeping the governor limits in mind to write trigger/classes?