Since users behavior can't be predicted, a website or application can be programmed to out-rightly reject any invalid data entered by the user and inform the user that the data was invalid. This process is what is termed error handling
WordPress ships with a WP_Error class that makes error handling within plugins and WordPress itself much easier.





