code: def __init__(self, obj, method):
      super(AttributeError, self).__init__(
          "No {} method for {}".format(method, obj.__class__.__name__)
      )
  
file_path: h2o-3/h2o-py/h2o/transforms/transform_base.py
imports: from h2o.utils.compatibility import *
  from h2o import expr
  from ..frame import H2OFrame
label_desc: Use image node_id 1 to create a new TransformAttributeError object from inherited base classes: AttributeError with example: obj = TransformAttributeError(obj, method)