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

errors: add type on errors #75

Open
gaelL opened this issue Jan 14, 2021 · 0 comments
Open

errors: add type on errors #75

gaelL opened this issue Jan 14, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@gaelL
Copy link
Member

gaelL commented Jan 14, 2021

The goal of this issue is to add Types on errors to be able to differenciate the one from cobra (command typos), the one from the CLI logic itself (enable to read files and so on), the swagger validation errors and the errors returned by Cycloid API.

It would help to display better error messages but also to remove the usage display for each errors. Maybe keep usage display only for cobra commandline errors

@fhacloid fhacloid self-assigned this Dec 10, 2024
@fhacloid fhacloid added the enhancement New feature or request label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants