public presentException ( PhpSpec\Exception\Exception $exception ) : string | ||
$exception | PhpSpec\Exception\Exception | |
return | string |
public function presentException(Exception $exception)
{
list($file, $line) = $this->getExceptionExamplePosition($exception);
return $this->presentFileCode($file, $line);
}