class_docstr: A simple exception with an error message that you can get to.
class_docstr_tok: ["A","simple","exception","with","an","error","message","that","you","can","get","to","."]
code: def __init__(self, *args):
      # We need to implement __init__ so that it is picked in the
      # multiple heritance hierarchy in the class created in
      # _mk_exception. Note: in Python 2, if you implement __init__
      # in your exception class you need to set .args correctly,
      # otherwise you can dump an exception instance with pickle but
      # not load it (at load time an empty .args will be passed to
      # the constructor). Also we want to be explicit and not use
      # 'super' here. Using 'super' can cause a sibling class method
      # to be called and we have no control the sibling class method
      # constructor signature in the exception returned by
      # _mk_exception.
      Exception.__init__(self, *args)
  
file_path: mlens/mlens/externals/joblib/my_exceptions.py
imports: import sys
  from ._compat import PY3_OR_LATER
label_desc: Use image node_id 1 to create a new JoblibException object from inherited base classes: Exception with example: obj = JoblibException()