Fix: Error handler creation in IoC/ApplicationContainer