src/api/v4/error-handling/carto-error-extender.js
function _buildErrorCode (cartoError, key) {
  var fragments = [];
  fragments.push(cartoError && cartoError.origin);
  fragments.push(cartoError && cartoError.type);
  fragments.push(key);
  fragments = _.compact(fragments);

  return fragments.join(':');
}
function _buildErrorCode (cartoError, key) {
  var fragments = [];
  fragments.push(cartoError && cartoError.origin);
  fragments.push(cartoError && cartoError.type);
  fragments.push(key);
  fragments = _.compact(fragments);

  return fragments.join(':');
}
function _buildErrorCode ( cartoError , key ) { var fragments = [ ] ; fragments . push ( cartoError && cartoError . origin ) ; fragments . push ( cartoError && cartoError . type ) ; fragments . push ( key ) ; fragments = _ . compact ( fragments ) ; return fragments . join ( ':' ) ; }
Generate an unique string that represents a cartoError
@param {cartoError} cartoError
@param {string} key
Generate an unique string that represents a cartoError