Skip to content

docs(unstable-v2): name error -32000 by its code instead of auth_required - #2915

Merged
benbrandt merged 1 commit into
mainfrom
docs/v2-auth-required-code
Nov 19, 2026
Merged

benbrandt merged 1 commit into
mainfrom
docs/v2-auth-required-code

Conversation

@benbrandt

Copy link
Copy Markdown
Member

Summary

The authentication page, the session setup page and four schema descriptions wrote auth_required in code formatting, as if it were a value on the wire.

It is not. The wire carries only the error code -32000, which the errors page names "Authentication required". auth_required is the name of the Rust constructor.

Changes

Each mention now uses the code, with the name from the errors page where it reads well: "-32000 (Authentication required)".

  • Authentication page and session setup page, with their draft/ copies.
  • Four doc comments in the v2 crate, with the schema files regenerated. Only description text changes.

No rule changes.

Checks

  • Clippy, the tests, rustdoc, Prettier and the spell check pass.

…ired

The authentication and session setup pages and four schema descriptions
wrote `auth_required` in code formatting, as if it were a value on the
wire. The wire carries only the code `-32000`, which the errors page
names "Authentication required". `auth_required` is the name of the Rust
constructor.

Use the code and the name from the errors page.
@benbrandt
benbrandt requested a review from a team as a code owner November 19, 2026 21:59
@benbrandt
benbrandt enabled auto-merge (squash) November 19, 2026 22:01
@benbrandt
benbrandt merged commit 08fe60a into main Nov 19, 2026
13 checks passed
@benbrandt
benbrandt deleted the docs/v2-auth-required-code branch November 19, 2026 22:06
@acp-release-bot acp-release-bot Bot mentioned this pull request Nov 19, 2026
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