code: def _make_error(opname):
      def _error(*args, name):
          raise RuntimeError(f"Detected {opname} of {name}")
  
      return _error
  
file_path: equinox/equinox/internal/_nontraceable.py
imports: import functools
  from typing import Optional
  import jax
  import jax.core
  import jax.interpreters.ad
  import jax.interpreters.batching
  import jax.interpreters.mlir
  import jax.tree_util
  from jaxtyping import PyTree
  from .._ad import nondifferentiable
  from .._errors import error_if
  from .._filters import combine, is_array, partition
label_desc: Use image node_id 1 for calling a global function with example usage: _make_error(opname) and returns: _error