dist/bottle.js
function getNested(obj, prop) {
        var service = obj[prop];
        if (service === undefined && Bottle.config.strict) {
            throw new Error('Bottle was unable to resolve a service.  `' + prop + '` is undefined.');
        }
        return service;
    }
function getNested(obj, prop) {
        var service = obj[prop];
        if (service === undefined && Bottle.config.strict) {
            throw new Error('Bottle was unable to resolve a service.  `' + prop + '` is undefined.');
        }
        return service;
    }
Iterator used to walk down a nested object.

If Bottle.config.strict is true, this method will throw an exception if it encounters an
undefined path

@param Object obj
@param String prop
@return mixed
@throws Error if Bottle is unable to resolve the requested service.