def on_callable_bind_error(
        self,
        *,
        error: TypeError,
    ):
        """Called if the wrapped method's arguments cannot be bound.

        Note that if this type of error occurs, none of the wrapped code
        actually executes. Also if this happens, the `on_callable_exception`
        handler is expected to be called as well after the wrapped func is
        called with the unbindable arguments. This is done to replicate the
        error behavior of an unwrapped invocation.
        """

        self.bind_error = error
Called if the wrapped method's arguments cannot be bound.

        Note that if this type of error occurs, none of the wrapped code
        actually executes. Also if this happens, the `on_callable_exception`
        handler is expected to be called as well after the wrapped func is
        called with the unbindable arguments. This is done to replicate the
        error behavior of an unwrapped invocation.
        
src/core/trulens/experimental/otel_tracing/core/_utils/wrap.py