Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    CacheError:
        | { kind: "Missing" }
        | { kind: "NetworkError"; cause: Error }
        | { kind: "Fatal"; cause: Error }
        | { kind: "Aborted" }

    Structured failure modes from MultiLevelCachingStore.getResult. Distinguishing them lets callers (prefetcher, retry policies, debug overlays) act on the underlying cause instead of treating every absence the same way.

    Type Declaration

    • { kind: "Missing" }
    • { kind: "NetworkError"; cause: Error }
    • { kind: "Fatal"; cause: Error }

      The whole container is unreadable — not this one key. Rethrown by MultiLevelCachingStore.get so the loader surfaces cause, because reporting it as a miss would render an empty scene and swallow the diagnosis a message like RangeUnsupportedError exists to deliver.

    • { kind: "Aborted" }