@honua/sdk-js
    Preparing search index...

    Function isStorageQuotaPressureError

    • Report whether a thrown value is, or wraps, a platform storage-pressure failure — the device refusing a write for lack of space.

      Recognizes the QuotaExceededError DOMException every engine raises, the Firefox NS_ERROR_DOM_QUOTA_REACHED name, and the legacy numeric DOMException codes, then walks a bounded cause and AggregateError graph so a store adapter that wrapped the failure is still classified correctly. Bounded and cycle-safe: it inspects at most 32 nodes and visits none twice.

      Exported because a host-supplied OfflineRegionStore must classify the same condition the same way; without a shared predicate an adapter's wrapper would silently downgrade a full device to an internal store failure.

      Parameters

      • error: unknown

      Returns boolean