/** * Checks that the function does not generate PHP error and does not throw exception. * @param callable $function * @return void */ public function noError($function) { Assert::noError($function); }