~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

createGroup's lexicon leaves out errors it answers

Closed
Closed chadtmiller.com opened this issue 0 comments

What happened

the lexicon lists only HandleTaken and NotAllowed, but a handle that is not one valid label under HANDLE_DOMAIN answers InvalidHandle. A failed directory publish answers AccountCreationFailed (502). checkGroupHandle and updateGroupHandle do list InvalidHandle. (AuthMissing is part of the note but no lexicon here lists it, as the shared auth error; that part does not hold.)

How to see it

Read against docs/fresh at 4636e6d, the code at: lexicons createGroup.json:85-88; repo.rs:198 (InvalidHandle), :228-233 (AccountCreationFailed). Paths are under crates/group-host/src unless they say otherwise. Severity: low.

What you expected

Add InvalidHandle and AccountCreationFailed to createGroup.json's errors.

Where

The host, as built from 4636e6d. Found while checking the docs against the code.