"""Create fallback_executor
Generated by Phi-Octopus Eden
2025-11-06 04:08:45.784558
"""

```python
from typing import Callable, Any, Tuple


class FallbackExecutor:
    """
    A class for executing a function with fallback capabilities.
    
    The `execute` method attempts to run a given function and handles any exceptions that occur,
    allowing for a fallback operation in case of failure. If the fallback also fails, an error is
    raised.

    :param function: The target function to execute.
    :param fallback: A callable that will be attempted if the primary function raises an exception.
    """

    def __init__(self, function: Callable[..., Any], fallback: Callable[..., Any]):
        self.function = function
        self.fallback = fallback

    def execute(self) -> Tuple[Any, str]:
        """
        Execute the target function and handle exceptions.

        :return: A tuple containing the result of the execution and a success message.
                 If an exception is raised, returns the result of the fallback operation (if any)
                 along with an error message indicating failure.
        """
        try:
            result = self.function()
            return result, "Execution successful"
        except Exception as e:
            try:
                fallback_result = self.fallback()
                return fallback_result, f"Fallback executed due to: {str(e)}"
            except Exception as fe:
                raise RuntimeError(f"Both function and fallback failed: {fe}")


# Example usage

def risky_function() -> Any:
    """A function that may fail."""
    import random
    if random.randint(0, 1) == 0:
        return "Operation successful"
    else:
        raise ValueError("Simulated failure")


def safer_fallback() -> Any:
    """A fallback function to handle the failure of `risky_function`."""
    return "Fallback operation executed"


# Create instance and execute
executor = FallbackExecutor(risky_function, safer_fallback)
result, message = executor.execute()

print(result)  # Output will be either "Operation successful" or "Fallback operation executed"
print(message)  # Message will indicate success or failure route taken

```