ModuleTest::$lastErrorMessage

Same name in other branches
  1. 9 core/modules/views/tests/src/Kernel/ModuleTest.php \Drupal\Tests\views\Kernel\ModuleTest::lastErrorMessage
  2. 8.9.x core/modules/views/tests/src/Kernel/ModuleTest.php \Drupal\Tests\views\Kernel\ModuleTest::lastErrorMessage
  3. 10 core/modules/views/tests/src/Kernel/ModuleTest.php \Drupal\Tests\views\Kernel\ModuleTest::lastErrorMessage

Stores the last triggered error.

Type: string

See also

\Drupal\views\Tests\ModuleTest::errorHandler()

File

core/modules/views/tests/src/Kernel/ModuleTest.php, line 42

Class

ModuleTest
Tests basic functions from the Views module.

Namespace

Drupal\Tests\views\Kernel

Code

protected $lastErrorMessage;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.