Skip to content

Wrap all NNAS errors in an errors block#306

Merged
jonbarrow merged 1 commit intodevfrom
chore/nnas-errors-format
Dec 3, 2025
Merged

Wrap all NNAS errors in an errors block#306
jonbarrow merged 1 commit intodevfrom
chore/nnas-errors-format

Conversation

@jonbarrow
Copy link
Member

@jonbarrow jonbarrow commented Dec 3, 2025

Resolves #XXX

Changes:

The NNAS client expects all errors to be in a "errors" block. This was not previously done, and a while ago the errors were updated to support this, but a few instances were missed. This likely fixes many 102-2402 errors, including those for when an account is being logged into when it was deleted off-device.

Untested but I verified that responses match those from the official servers, and this is already how ~50 of our other NNAS errors are handled. This just cleans up the stragglers.

This also lines up with this comment #160 (comment).

the NNAS client expects all errors to be in a "errors" block. this was not previously done, and some instances were missed when updating the error handling. this likely fixes many 102-2402 errors
@jonbarrow jonbarrow requested a review from DaniElectra December 3, 2025 00:36
@jonbarrow jonbarrow merged commit 08598c1 into dev Dec 3, 2025
7 checks passed
@jonbarrow jonbarrow deleted the chore/nnas-errors-format branch December 3, 2025 22:27
@jonbarrow jonbarrow mentioned this pull request Dec 31, 2025
4 tasks
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.

2 participants