packages/data-point/lib/stores/store-manager.js
function get (manager, errorInfoCb, id) {
  const value = manager.store.get(id)
  if (_.isUndefined(value)) {
    const errorInfo = errorInfoCb(id)
    const e = new Error(errorInfo.message)
    e.name = errorInfo.name
    throw e
  }

  return value
}
function get (manager, errorInfoCb, id) {
  const value = manager.store.get(id)
  if (_.isUndefined(value)) {
    const errorInfo = errorInfoCb(id)
    const e = new Error(errorInfo.message)
    e.name = errorInfo.name
    throw e
  }

  return value
}
function get ( manager , errorInfoCb , id ) { const value = manager . store . get ( id ) if ( _ . isUndefined ( value ) ) { const errorInfo = errorInfoCb ( id ) const e = new Error ( errorInfo . message ) e . name = errorInfo . name throw e } return value }
get value by id
@throws if value for id is undefined
@param {Object} manager
@param {Function} errorInfoCb
@param {string} id - model id
@return {*}
get value by id