whole_func_string: function setContextValue(setChainContext, chainId, name, value) {
      if (value instanceof Function) {
          throw new FunctionAsValueException();
      }
      setChainContext(chainId, name, value);
  }
func_code_string: function setContextValue(setChainContext, chainId, name, value) {
      if (value instanceof Function) {
          throw new FunctionAsValueException();
      }
      setChainContext(chainId, name, value);
  }
func_documentation_string: Sets context value
  @param setChainContext
  @param chainId
  @param name
  @param value