SimplePie::enable_exceptions PHP Method

enable_exceptions() public method

Enable throwing exceptions
public enable_exceptions ( boolean $enable = true )
$enable boolean Should we throw exceptions, or use the old-style error property?
    public function enable_exceptions($enable = true)
    {
        $this->enable_exceptions = $enable;
    }