Fallbacks That Signal Reduced Functionality

A fallback can preserve part of a feature when the preferred data is unavailable. Its result should communicate any lost freshness or confidence.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace a cached report
  2. Keep recovery observable

Trace a cached report

If current data cannot be read, show a saved report with its observation date where the contract permits that. The display should let a reader distinguish a live and cached result. See cache freshness.

Keep recovery observable

A fallback that appears fully current can hide prolonged failure. Carry an explicit state or diagnostic alongside the available data through a structured result.[1]

References

  1. Python Software Foundation, Python Tutorial: Errors and Exceptions ↩