You are here

public function FlattenException::setTraceFromException in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/debug/Exception/FlattenException.php \Symfony\Component\HttpKernel\Exception\FlattenException::setTraceFromException()

File

vendor/symfony/debug/Exception/FlattenException.php, line 214

Class

FlattenException
FlattenException wraps a PHP Exception to be able to serialize it.

Namespace

Symfony\Component\HttpKernel\Exception

Code

public function setTraceFromException(\Exception $exception) {
  $this
    ->setTrace($exception
    ->getTrace(), $exception
    ->getFile(), $exception
    ->getLine());
}