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

Implement process error propagation #24

Open
daniel-p-gonzalez opened this issue May 16, 2017 · 1 comment
Open

Implement process error propagation #24

daniel-p-gonzalez opened this issue May 16, 2017 · 1 comment
Assignees

Comments

@daniel-p-gonzalez
Copy link
Owner

daniel-p-gonzalez commented May 16, 2017

Allow monitoring of processes for failure.

pid = SomeProcess()
error_message = pid->on_error()

when error_message:
    print("Process exited with error: " + to_string(error_message))
end

# normal exit case
exit_message = pid->on_exit()

when exit_message:
    print("Process exited normally with message: " + to_string(exit_message))
end
@daniel-p-gonzalez daniel-p-gonzalez self-assigned this May 16, 2017
@daniel-p-gonzalez
Copy link
Owner Author

WIP in topic_exceptions

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

No branches or pull requests

1 participant