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

Nexus: Polish error copy around when to include parents in API selectors #7298

Open
david-crespo opened this issue Jan 1, 2025 · 0 comments

Comments

@david-crespo
Copy link
Contributor

repo search for "should not be specified"

It's a small thing, but I want to clean up the grammar, punctuation, clarity, and consistency on these errors that are very easy to run into when first learning how to use the API. There are a bunch. Here are just a few:

} => Err(Error::invalid_request(
"when providing gateway as an ID vpc and project should not be specified",
)),
_ => Err(Error::invalid_request(
"gateway should either be an ID or vpc should be specified",
)),

} => Err(Error::invalid_request(
"when providing disk as an ID project should not be specified",
)),
_ => Err(Error::invalid_request(
"disk should either be UUID or project should be specified",
)),

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

No branches or pull requests

1 participant