is_informative_error: Is an error informative?

Description Usage Arguments Details

View source: R/deprec-condition.R

Description

[Deprecated]

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.

Usage

1

Arguments

x

An error object.

...

These dots are for future extensions and must be empty.

Details

A few classes are hard-coded as uninformative:


testthat documentation built on Oct. 4, 2021, 9:07 a.m.