Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: check unavailable/unimplemented exceptions #457

Open
robingenz opened this issue Mar 15, 2025 · 0 comments
Open

refactor!: check unavailable/unimplemented exceptions #457

robingenz opened this issue Mar 15, 2025 · 0 comments
Labels
Milestone

Comments

@robingenz
Copy link
Member

robingenz commented Mar 15, 2025

Capacitor offers two error codes:

  • Unavailable: Should be used if the platform has an implementation but this implementation is not available on the specific device (e.g. outdated OS)
  • Unimplemented: Should be used if a method has no implementation on a specific platform, as it is not possible, for example

We should check whether both error codes are used correctly. They are often interchanged.

Examples for wrong impementations:

@robingenz robingenz added this to the v8.0.0 milestone Mar 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant