env() === 'dev') { $routingConfigurator ->import('@FrameworkBundle/Resources/config/routing/errors.xml') ->prefix('/_error'); } };