When the rate limit is hit and the server responds with a 429 the error handling on line Ilovepdf.php@208 is throwing an Undefined property: stdClass::$error because $response->body->error is not set.
This could be happening on other error response codes but I have been unable to test.
When the rate limit is hit and the server responds with a 429 the error handling on line
Ilovepdf.php@208
is throwing anUndefined property: stdClass::$error
because$response->body->error
is not set.This could be happening on other error response codes but I have been unable to test.
Image of debug output
--
https://github.com/ilovepdf/ilovepdf-php/blob/5d9a51d608ef639607e076ce22381f7bad83e5d8/src/Ilovepdf.php#L208