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