Handler that allows to display the error with echo