Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve validation error messages #967

Open
morremeyer opened this issue Feb 12, 2024 · 0 comments
Open

Improve validation error messages #967

morremeyer opened this issue Feb 12, 2024 · 0 comments
Labels
enhancement New feature or improvements to an existing one

Comments

@morremeyer
Copy link
Member

Is your feature request related to a problem? Please describe.
there is no category matching your query is technically correct, but we can definitely produce better error messages in the different cases:

  • When creating an envelope, the message should be more like "you need to specify a category"
  • When updating it, the message should be more like "the category you're trying to move this envelope to does not exist"

Of course, this applies to all resources, not only envelopes.

@morremeyer morremeyer added the enhancement New feature or improvements to an existing one label Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvements to an existing one
Projects
None yet
Development

No branches or pull requests

1 participant