Snowair\Debugbar\PhalconDebugbar::addException PHP Method

addException() public method

Adds an exception to be profiled in the debug bar
public addException ( Exception $e )
$e Exception
    public function addException(Exception $e)
    {
        if ($this->hasCollector('exceptions')) {
            /** @var \DebugBar\DataCollector\ExceptionsCollector $collector */
            $collector = $this->getCollector('exceptions');
            $collector->addException($e);
        }
    }