You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 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).
Are there any real use cases or requests for this?
I tend to reject and archive this feature request...
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
changed the title
Support custom error (and other condition) messages for catched conditions
Support custom messages for catched conditions
Aug 1, 2022
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/rlangLionel 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).
See also:
rlang
package: https://github.com/r-lib/rlangR.oo
package (functionthrow()
): https://cran.r-project.org/web/packages/R.oo/index.htmlThe text was updated successfully, but these errors were encountered: