class_docstr: Signal an error that should have a different message if invoked from
  the cli.
  
  Parameters
  ----------
  pyfunc_msg : str
      The message that will be shown when called as a python function.
  cmdline_msg : str, optional
      The message that will be shown on the command line. If not provided,
      this will be the same as ``pyfunc_msg`
class_docstr_tok: ["Signal","an","error","that","should","have","a","different","message","if","invoked","from","the","cli",".","Parameters","--","--","--","--","--","pyfunc_msg",":","str","The","message","that","will","be","shown","when","called","as","a","python","function",".","cmdline_msg",":","str",",","optional","The","message","that","will","be","shown","on","the","command","line",".","If","not","provided",",","this","will","be","the","same","as","``","pyfunc_msg","`"]
code: def __init__(self, pyfunc_msg, cmdline_msg=None):
      if cmdline_msg is None:
          cmdline_msg = pyfunc_msg
  
      super(_RunAlgoError, self).__init__(cmdline_msg)
      self.pyfunc_msg = pyfunc_msg
  
imports: import click
  import os
  import sys
  import warnings
  import logbook
  import pandas
  import six
  from toolz import concatv
  from trading_calendars import get_calendar
  from zipline.data import bundles
  from zipline.data.benchmarks import get_benchmark_returns_from_file
  from zipline.data.data_portal import DataPortal
  from zipline.finance import metrics
  from zipline.finance.trading import SimulationParameters
  from zipline.pipeline.data import USEquityPricing
  from zipline.pipeline.loaders import USEquityPricingLoader
  import zipline.utils.paths
  from zipline.extensions import load
  from zipline.errors import SymbolNotFound
  from zipline.algorithm import TradingAlgorithm, NoBenchmark
  from zipline.finance.blotter import Blotter
label_desc: Use image node_id 1 to create a new _RunAlgoError object from inherited base classes: click, ValueError with example: obj = _RunAlgoError(pyfunc_msg, cmdline_msg)