Added common component to display errors