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

Error handling #1

Open
DanielHouston opened this issue Jun 14, 2020 · 1 comment
Open

Error handling #1

DanielHouston opened this issue Jun 14, 2020 · 1 comment
Assignees

Comments

@DanielHouston
Copy link
Contributor

There should be centralised error handling which takes an error message and returns a formatted Error object

RunE: in place of Run can be used so error printing and exiting can be handled by Cobra

@DanielHouston DanielHouston self-assigned this Jun 14, 2020
@DanielHouston
Copy link
Contributor Author

Branch for ref: errorHandling

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