onPreResponse extension point added :

Display friendly error if an 'app.errorTemplate' setting key has been defined (for example 'error', or 'error/main').