Description
Providing a backup plan or default value when a service fails.
Where to use
- UX. \n
- Resilience.
Real World Example
If the movie poster service is down, show a generic placeholder image.
Code Example
class FallbackPattern:
def __init__(self):
pass
def execute(self):
print('Executing Fallback Pattern')
