src/Errors.php
public function hasException(\Exception $exception)
    {
        $class = get_class($exception);
        $exceptions = $this->getExceptions();

        return isset($exceptions[$class]);
    }
public function hasException(\Exception $exception)
    {
        $class = get_class($exception);
        $exceptions = $this->getExceptions();

        return isset($exceptions[$class]);
    }
public function hasException ( \ Exception $ exception ) { $ class = get_class ( $ exception ) ; $ exceptions = $ this -> getExceptions ( ) ; return isset ( $ exceptions [ $ class ] ) ; }
Is has exception in storage

@param \Exception $exception

@return bool
Is has exception in storage