"""Create fallback_executor
Generated by Phi-Octopus Eden
2025-11-06 04:57:52.246257
"""

```python
from typing import Callable, Any

class FallbackExecutor:
    """
    A class that provides a mechanism for executing tasks with fallback strategies in case of errors.
    
    Attributes:
        primary_executor: A callable object representing the main task to be executed.
        fallback_executors: A list of fallback executors callables. Each callable is expected to have
                            the same signature as `primary_executor`.
    """
    
    def __init__(self, primary_executor: Callable[..., Any], fallback_executors: list[Callable[..., Any]]):
        self.primary_executor = primary_executor
        self.fallback_executors = fallback_executors
    
    def execute(self) -> Any:
        """
        Execute the primary task. If an error occurs during execution, try each fallback in turn.
        
        Returns:
            The result of the first successful execution or None if all fail.
            
        Raises:
            An exception is raised only if there are no fallbacks and the primary executor fails.
        """
        for func in [self.primary_executor] + self.fallback_executors:
            try:
                return func()
            except Exception as e:
                print(f"Error occurred: {e}")
        
        return None

# Example usage
def main_task() -> int:
    """Main task that might fail."""
    raise ValueError("Oops, something went wrong!")
    
def fallback_task_1() -> int:
    """First fallback task."""
    return 42
    
def fallback_task_2() -> int:
    """Second fallback task."""
    return 73

# Create an instance of FallbackExecutor
executor = FallbackExecutor(main_task, [fallback_task_1, fallback_task_2])

# Execute the tasks
result = executor.execute()
print(f"Result: {result}")
```