For example look in DB for configured value, if toggle is not configured in db then use local (e.g. config file) value instead, if neither exist then error as usual. Implement as decorator??
If "primary" toggle lookup throws exception then will use fallback toggle, if fallback toggle errors then propagate exception to client.
Add event/callback/etc if primary fails to act as hook in point if client wants to perform an action such as logging?
For example look in DB for configured value, if toggle is not configured in db then use local (e.g. config file) value instead, if neither exist then error as usual. Implement as decorator??
If "primary" toggle lookup throws exception then will use fallback toggle, if fallback toggle errors then propagate exception to client.
Add event/callback/etc if primary fails to act as hook in point if client wants to perform an action such as logging?