Closed roelvanduijnhoven closed 8 years ago
When a 429 error is spawned by MoneyBird the Picqer\Financials\Moneybird\Exceptions\ApiException exception is thrown. I would except the $code property to be 429. However it is empty! Therefore you need to parse the $message yourself.
Picqer\Financials\Moneybird\Exceptions\ApiException
$code
$message
Do you agree? If so I can implement it this way.
I agree! Sorry for the late response.
Seems already done in #54
When a 429 error is spawned by MoneyBird the
Picqer\Financials\Moneybird\Exceptions\ApiException
exception is thrown. I would except the$code
property to be 429. However it is empty! Therefore you need to parse the$message
yourself.Do you agree? If so I can implement it this way.