Function I/O
| Name | In | Out | Side | Purpose |
|---|---|---|---|---|
| handleSubmit | FormEvent | void | io | POSTs the registration payload and routes the response. |
Variables
| Name | Type | Scope | Purpose |
|---|---|---|---|
| string | call | Identity for the new account; required. | |
| inviteCode | string | call | Token from the off-platform invite hand-off. |
Internal data flow
Errors
| Name | When | Means |
|---|---|---|
| ErrInvalidCode | API returns 422 with `invite_code` reason. | Highlight the invite-code field with the API message. |