file-fetcher
|
Exception for expectations which failed their check.
The exception contains the error message and optionally a SebastianBergmann\Comparator\ComparisonFailure which is used to generate diff output of the failed expectations.
Public Member Functions | |
__construct (string $message, ComparisonFailure $comparisonFailure=null, \Exception $previous=null) | |
getComparisonFailure () | |
![]() | |
toString () | |
![]() | |
__construct ($message='', $code=0, \Throwable $previous=null) | |
__toString () | |
__sleep () | |
getSerializableTrace () | |
Protected Attributes | |
$comparisonFailure | |
![]() | |
$serializableTrace | |
PHPUnit\Framework\ExpectationFailedException::__construct | ( | string | $message, |
ComparisonFailure | $comparisonFailure = null , |
||
\Exception | $previous = null |
||
) |
PHPUnit\Framework\ExpectationFailedException::getComparisonFailure | ( | ) |
|
protected |