get() never throws for these data-quality failures and never exposes
them — it falls back to defaultValue, so callers that just want a value can
ignore this type. A failing custom clock or storage adapter is outside this
issue model and may still throw.
tryGet() is the escape hatch for callers that need to tell "nothing stored
yet" apart from "stored, but corrupted/incompatible".
A validation or migration failure surfaced by TypedStorage.tryGet.
get()never throws for these data-quality failures and never exposes them — it falls back todefaultValue, so callers that just want a value can ignore this type. A failing custom clock or storage adapter is outside this issue model and may still throw.tryGet()is the escape hatch for callers that need to tell "nothing stored yet" apart from "stored, but corrupted/incompatible".