redirect errors to a specifique page of error for production.
use template error of the application
clean the code