Show custom errors message to a panel

Added a method to show custom errors message to a panel