for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SfCod\QueueBundle\Exception;
use Exception;
/**
* DaemonExceptionHandler
*
* @author Virchenko Maksim <[email protected]>
*/
class FatalThrowableException extends Exception
{
* FatalThrowableException constructor.
* @param Exception $e
* @param int $code
* @param Exception $previous
public function __construct($e, int $code = 0, Exception $previous = null)
$this->message = $e->getMessage();
$this->file = $e->getFile();
$this->line = $e->getLine();
}