Returns the exception's message.
Return value
string
File
- drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestFailure.php, line 164
Class
- PHPUnit_Framework_TestFailure
- A TestFailure collects a failed test together with the caught exception.
Code
public function exceptionMessage() {
return $this
->thrownException()
->getMessage();
}