forked from loafle/openapi-generator-original
* Use HttpError class when rejecting promises Fixes #3872 * Update samples * Test the new code in client.ts
* Use HttpError class when rejecting promises Fixes #3872 * Update samples * Test the new code in client.ts