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
In the example directory, 01-latlon.php makes an HTTP call, but what if the curl process times out, or what if the response isn't valid JSON?
It might be useful to be able to cache null, so simply returning null might not be the best solution. A better solution might be to throw a CacheValueGenerationException, which can be internally caught and ignored.
The text was updated successfully, but these errors were encountered:
In the example directory,
01-latlon.php
makes an HTTP call, but what if the curl process times out, or what if the response isn't valid JSON?It might be useful to be able to cache
null
, so simply returning null might not be the best solution. A better solution might be to throw aCacheValueGenerationException
, which can be internally caught and ignored.The text was updated successfully, but these errors were encountered: