Skip to content

docs: use the same error codes across platforms#132

Merged
vonovak merged 1 commit into
mainfrom
docs/status-codes
Jun 23, 2026
Merged

docs: use the same error codes across platforms#132
vonovak merged 1 commit into
mainfrom
docs/status-codes

Conversation

@vonovak

@vonovak vonovak commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

error codes in the one-tap module are statically known to TypeScript.

The main motivation is better TS insight for consumers: exported statusCodes have stable literal types like "IN_PROGRESS" and "PLAY_SERVICES_NOT_AVAILABLE", so comparisons against error.code are easier to autocomplete, and reason about across platforms.

@vonovak vonovak enabled auto-merge (squash) June 23, 2026 17:38
@vonovak vonovak merged commit 80425f1 into main Jun 23, 2026
2 checks passed
@vonovak vonovak deleted the docs/status-codes branch June 23, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant