Different validation error shapes, nested schemas, and custom error handling.
—
—
—
The formatted and flattened examples above both use returnValidationErrors to manually set field-level errors from the server. Try username "johndoe" to see a user_suspended error, or any other value to see incorrect_credentials.
—
—