WordPress at a glance
function is not described

SimplePie::error() public WP 1.0

Get the error message for the occured error

{} It's a method of the class: SimplePie{}

No Hooks.

Return

String|Array. Error message, or array of messages for multifeeds

Usage

$SimplePie = new SimplePie();
$SimplePie->error();

Code of SimplePie::error() WP 5.7.2

<?php
public function error()
{
	return $this->error;
}