public static function parseError(RequestException $requestException, $isAssoc = true)
	{

		$error = $error = json_decode($requestException->getResponse()->getBody(), $isAssoc);

		if (!is_null($error))
		{
			return $error;
		}
		else
		{
			return $requestException->getMessage();
		}
	}
public static function parseError(RequestException $requestException, $isAssoc = true)
	{

		$error = $error = json_decode($requestException->getResponse()->getBody(), $isAssoc);

		if (!is_null($error))
		{
			return $error;
		}
		else
		{
			return $requestException->getMessage();
		}
	}
public static function parseError ( RequestException $ requestException , $ isAssoc = true ) { $ error = $ error = json_decode ( $ requestException -> getResponse ( ) -> getBody ( ) , $ isAssoc ) ; if ( ! is_null ( $ error ) ) { return $ error ; } else { return $ requestException -> getMessage ( ) ; } }
Returns an object or array of the FDC error parsed from the Guzzle Request exception

@param RequestException $requestException
@param bool             $isAssoc

@return string
Returns an object or array of the FDC error parsed from the Guzzle Request exception