Skip to content

Conversation

@toufali
Copy link
Member

@toufali toufali commented Dec 5, 2025

Because

This pull request

  • addresses the comments

Issue that this pull request solves

Closes: FXA-12747

@toufali toufali requested a review from a team as a code owner December 5, 2025 18:40
@toufali toufali requested a review from dschom December 15, 2025 20:14
@nshirley nshirley changed the title chore(): additional cleanup for AppError/OauthError code chore(errors): additional cleanup for AppError/OauthError code Dec 15, 2025
Copy link
Contributor

@nshirley nshirley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked out all of the moved messages and made sure they didn't get any crossed wires! I also checked out the original PR and it looks like this addresses all of the outstanding things. r+ but up to you if you want Dan's 👀 too!

DISABLED_CLIENT_ID: 202,
};

export const OAUTH_ERROR_MESSAGES: Record<keyof typeof OAUTH_ERRNO, string> = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Smart use of the type constraint with OAUTH_ERRNO! I see it's used in the sharedError to allow indexing this and OAUTH_ERRNO with the same key value since they're from the same type!

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.

3 participants