Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Catch Title Errors #27

Open
pantheredeye opened this issue Sep 1, 2022 · 2 comments
Open

Catch Title Errors #27

pantheredeye opened this issue Sep 1, 2022 · 2 comments

Comments

@pantheredeye
Copy link
Collaborator

Catch title related errors & prompt user to resubmit with different title

Too Short
Already Used
Nonsensical
No Title

Desired Action

  1. Display error message to user
  2. Prompt for manual title creation
  3. Try submittal again
@pantheredeye
Copy link
Collaborator Author

{"action":"create_post","errors":["Title has already been used"]}

@pantheredeye
Copy link
Collaborator Author

pantheredeye commented Sep 21, 2022

{"action":"create_post","errors":["Title seems unclear, most of the words contain the same letters over and over?"]}

this was for a short title; status code 422(?)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant