View source: R/deprec-condition.R
is_informative_error | R Documentation |
is_informative_error()
is a generic predicate that indicates
whether testthat users should explicitly test for an error
class. Since we no longer recommend you do that, this generic
has been deprecated.
is_informative_error(x, ...)
x |
An error object. |
... |
These dots are for future extensions and must be empty. |
A few classes are hard-coded as uninformative:
simpleError
rlang_error
unless a subclass is detected
Rcpp::eval_error
Rcpp::exception
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.