def try_except_func(a: int, b: int) -> int:
        """
        A function with try-except block.

        Args:
            a: First number
            b: Second number

        Returns:
            int: Sum of a and b
        """
        try:
            return a + b
        except Exception as e:
            raise ValueError(f"Invalid operation") from e

        A function with try-except block.

        Args:
            a: First number
            b: Second number

        Returns:
            int: Sum of a and b
        
ai/core/tests/core/test_callable_utils.py