core/init.js
function () {
            if (_.isObject(this.cache)) {
                return this.cache;
            }

            if (_.has(this.app.caches, this.cache)) {
                return this.app.caches[this.cache];
            }

            throw new errors.NoSuchCacheError(f('You should define app.caches[%j] interface', this.cache));
        }
function () {
            if (_.isObject(this.cache)) {
                return this.cache;
            }

            if (_.has(this.app.caches, this.cache)) {
                return this.app.caches[this.cache];
            }

            throw new errors.NoSuchCacheError(f('You should define app.caches[%j] interface', this.cache));
        }
@public
@memberOf {app.Unit}
@method

@returns {Object}
@throw {FistError}