php/src/mollie/api.php
protected function checkResultErrors(Mollie_Response $object)
	{
		if (!$object->isSuccess()) {
			throw new Mollie_Exception(strval($object->resultmessage), intval($object->resultcode));
		}
	}
protected function checkResultErrors(Mollie_Response $object)
	{
		if (!$object->isSuccess()) {
			throw new Mollie_Exception(strval($object->resultmessage), intval($object->resultcode));
		}
	}
protected function checkResultErrors ( Mollie_Response $ object ) { if ( ! $ object -> isSuccess ( ) ) { throw new Mollie_Exception ( strval ( $ object -> resultmessage ) , intval ( $ object -> resultcode ) ) ; } }
Check if the response received from the Mollie service is an error. If it is an error, then it will throw a
Mollie_Exception, else it will do nothing.

@param Mollie_Response $object
@throws Mollie_Exception
@return void
Check if the response received from the Mollie service is an error . If it is an error then it will throw a Mollie_Exception else it will do nothing .