phpmock\spy\Invocation::isExceptionThrown PHP Method

isExceptionThrown() public method

Returns if the spied function threw an exception.
public isExceptionThrown ( ) : boolean
return boolean TRUE if an exception was thrown.
    public function isExceptionThrown()
    {
        return !is_null($this->exception);
    }