View source: R/utils-error_handler.R
error_handler | R Documentation |
A utility function to handle errors with specific error classes and provide appropriate error messages using the cli package.
error_handler(e, e_class)
e |
The error object to handle |
e_class |
The expected error class to check against |
No return value; either displays an error message via cli or stops execution with the original error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.