logger icon indicating copy to clipboard operation
logger copied to clipboard

Use rlang for error wrapping, if available

Open hadley opened this issue 1 year ago • 0 comments

This includes some general improvements to the erorr handling, e.g. using conditionMessage() instead of $message and withCallingHandlers() instead of tryCatch().

I also made the hint conditional, since I've seen it a couple of times when it wasn't appropriate, and it's better not to send the user off chasing a red herring.

hadley avatar Aug 23 '24 13:08 hadley