You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fallback can be thought of as a backup value in case of a failure from the dependency.
The idea is that the fallback will be returned and exceptions swallowed, not causing an outage.
A fallback can be enabled by overriding Fallback() which will cause any exceptions that are thrown to be handled and return the fallback value.
The fallback value is meant to be a static or at least local value.
Fallback can be disabled through configuration. If disabled, exceptions will fall through and bubble up.
Note: If Fallback() has not been overridden nor disabled, any exception thrown as part of the execution, will bubble up.