Allow defining custom method to raise lookup failure exception
Moving forward one can define a method to raise custom exception when unable to lookup a dependency from the IoC container. For example:
ioc.onLookupFailed = function(namespace) {
throw new Error(`Unable to resolve ${namespace}`)
}