Error handling
Last updated
Was this helpful?
Last updated
Was this helpful?
This page describes how deal with errors arising from and .
It can be summarized in two simple rules:
If an error occurs and no correct settings instance has been observed for the requested type thus far, the error is propagated to the calling code, resulting in exceptions from Get method. A subsequent settings update with correct data automatically "heals" future Get calls.
If an error occurs and a correct settings instance has already been observed for the requested type at least once, the error is and does not cause Get method to fail: last seen correct instance is returned from cache instead.
The second guarantee can be violated by cache overflow events. Read the to find out how to avoid them.