improving error messages in routing, dispatching and service container
enhanced error handling