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

Program should have an different exit error code. #7

Closed
mamadou-diallo opened this issue Oct 10, 2020 · 1 comment
Closed

Program should have an different exit error code. #7

mamadou-diallo opened this issue Oct 10, 2020 · 1 comment

Comments

@mamadou-diallo
Copy link
Owner

As per the requirements :
Make sure that the program exits with an appropriate error code. If there are no errors (all links are good), exit with 0. Otherwise, exit with a non-zero exit code.

@mamadou-diallo mamadou-diallo mentioned this issue Oct 11, 2020
@mamadou-diallo
Copy link
Owner Author

The program now has the following exit codes :
0 - Everything was ran succesfully
1 - There was an Unknown Error Code retrieved
2 - A connection could not be established

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