We have many calls to stopf()
and warningf()
. With the new condition system, we can make these errors more precise by giving them classes. This should not only be done in mlr3
, but also other packages. E.g. learners doing checks in $.train()
should throw a error_config()
so this is not caught by the fallback learner.