class_docstr: Tensorforce error
class_docstr_tok: ["Tensorforce","error"]
code: def invalid(name, argument, condition=None):
      if condition is None:
          return TensorforceError(
              message="Invalid {name} argument {argument}.".format(
                  name=name, argument=argument
              )
          )
      else:
          return TensorforceError(
              message="Invalid {name} argument {argument} given {condition}.".format(
                  name=name, condition=condition, argument=argument
              )
          )
  
file_path: tensorforce/tensorforce/exception.py
label_desc: Use image node_id 9 for calling the TensorforceError obj's underlying member method code with example usage: obj.invalid(name, argument, condition) and returns: TensorforceError, TensorforceError