Added showError method.