Closed Apollon77 closed 1 year ago
Ok, I checked more in deoth the throwIfError and waitForSuccess and optimized more ... hopefully now less "duplicate" code
@mfucci Ready for re-reveiw ... I adjusted ... you were right regarding duplicste throwIfError
Ready for re-review
This PR uses the new Error classes to instoduce StatusError classes that are thrown when an unexpected StatusCode is returned.
This also fixes the "waitForSucces" to really wait for a success reswponse and not for "any" response