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

don't exit() on error #6

Open
darealshinji opened this issue May 30, 2021 · 0 comments
Open

don't exit() on error #6

darealshinji opened this issue May 30, 2021 · 0 comments

Comments

@darealshinji
Copy link

Instead of calling exit() on an error, can't you just set a flag or something and leave it up to the programmer to decide what to do?
Something like this:

elf_parser::Elf_parser elf_parser(file);
if (!elf_parser.success()) return 1;
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