Commit 0e3673c
authored
Align error code enums to PascalCase (#554)
Standardizes error code enums to PascalCase to stay aligned with OpenIAP
naming and updates mappings, docs, samples, and tests accordingly.
Tests: `dart test` *(fails: flutter_test requires a Flutter host
environment; run `flutter test` locally)*
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- Refactor
- Breaking change: public ErrorCode members renamed from e-prefixed
lowerCamelCase to PascalCase (e.g., eUserCancelled → UserCancelled).
Update integrations and error handling.
- New Features
- Added many new error codes to broaden platform and billing coverage
(e.g., BillingUnavailable, ProductAlreadyOwned, PurchaseNotAllowed,
NotInitialized, AlreadyInitialized, etc.).
- Documentation
- Updated API docs, guides, migration notes, examples, and mappings to
reflect renamed and added ErrorCode values.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent a4b996c commit 0e3673c
File tree
25 files changed
+621
-573
lines changed- docs
- docs
- api
- guides
- migration
- versioned_docs/version-6.3
- api
- guides
- migration
- example/lib/src/screens
- lib
- test
25 files changed
+621
-573
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
470 | | - | |
| 470 | + | |
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
567 | | - | |
| 567 | + | |
568 | 568 | | |
569 | 569 | | |
570 | | - | |
| 570 | + | |
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
| |||
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
648 | | - | |
| 648 | + | |
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
| |||
0 commit comments