Skip to content

[iCloud] Storage quota & CloudKit error handling #11

@zinkxx

Description

@zinkxx

🎯 Goal

Gracefully handle CloudKit errors and iCloud storage limitations with clear user feedback.

📌 Scope

  • Detect CloudKit errors (quota, network, permissions)
  • Map errors to user-friendly messages
  • Prevent infinite retry loops on fatal errors

🧠 Technical Notes

  • Handle CKError types (quotaExceeded, networkUnavailable, permissionFailure)
  • Conditional retry vs hard stop
  • Centralized error handling layer

✅ Acceptance Criteria

  • User is informed when iCloud storage is full
  • Sync pauses when retrying is pointless
  • App does not crash on CloudKit failures
  • Clear recovery guidance is shown to the user

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions