In case of invalid password we obtain
GuzzleHttp\Exception\ClientException object {
message => (string) Client error: `GET https://api.rb.cz/rbcz/premium/api/accounts/1223213213/balance` resulted in a `403 Forbidden` response:
{"error":"INVALID_REQUEST","error_description":"Insufficient rights"}
Converted to ApiException is unable to deserialize on
|
$data = ObjectSerializer::deserialize( |
and produce InvalidArgumentException
In case of invalid password we obtain
Converted to ApiException is unable to deserialize on
php-vitexsoftware-rbczpremiumapi/lib/PremiumAPI/GetAccountBalanceApi.php
Line 372 in 0fab93c
and produce InvalidArgumentException