Get the first exception in the collection
Return value
\Exception
File
- drupal/core/vendor/guzzle/common/Guzzle/Common/Exception/ExceptionCollection.php, line 78
Class
- ExceptionCollection
- Collection of exceptions
Namespace
Guzzle\Common\Exception
Code
public function getFirst() {
return $this->exceptions ? $this->exceptions[0] : null;
}