error_component now accepts an Exception as body