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

Support custom messages for catched conditions #22

Open
aryoda opened this issue Dec 21, 2017 · 2 comments
Open

Support custom messages for catched conditions #22

aryoda opened this issue Dec 21, 2017 · 2 comments

Comments

@aryoda
Copy link
Owner

aryoda commented Dec 21, 2017

To give the user a better error (or other condition) message a feature to replace all or selected conditions (or at least condition messages) by custom conditions (messages) would be helpful.

See: https://stackoverflow.com/q/47871392/4468078

See also the rlang package: https://github.com/r-lib/rlang
Lionel Henry gave a good presentation at erum 2018 ("Harness the R condition system") and explained the newest extensions around condition handling (wait for the slides to be published at http://2018.erum.io).

Conditions are signaled by 'signalCondition'.

See also:

@aryoda
Copy link
Owner Author

aryoda commented Oct 22, 2018

Rethrowing a caught condition as another condition is a duplicate of #30 (could be solved together).

Just replacing the message is new and separate requirement...

@aryoda
Copy link
Owner Author

aryoda commented Jul 31, 2022

Are there any real use cases or requests for this?

I tend to reject and archive this feature request...

@aryoda aryoda changed the title Support custom error (and other condition) messages Support custom error (and other condition) messages for catched conditions Jul 31, 2022
@aryoda aryoda changed the title Support custom error (and other condition) messages for catched conditions Support custom messages for catched conditions Aug 1, 2022
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