code: def testShapeFnErrors(self):
      self.assertRaises(
          (ValueError, errors.InvalidArgumentError),
          ragged_math_ops.range,
          [[0]],
          5,
      )
      self.assertRaises(
          (ValueError, errors.InvalidArgumentError),
          ragged_math_ops.range,
          0,
          [[5]],
      )
      self.assertRaises(
          (ValueError, errors.InvalidArgumentError),
          ragged_math_ops.range,
          0,
          5,
          [[0]],
      )
      self.assertRaises(
          (ValueError, errors.InvalidArgumentError),
          ragged_math_ops.range,
          [0],
          [1, 2],
      )
  
file_path: tensorflow/tensorflow/python/ops/ragged/ragged_range_op_test.py
imports: from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import gen_ragged_math_ops
  from tensorflow.python.ops.ragged import ragged_math_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 7 for calling the RaggedRangeOpTest obj's underlying member method code with example usage: obj.testShapeFnErrors() without return types