Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Fall back to String if error returned from api client is not matching HttpError #223

Open
danielgoncharov opened this issue Aug 2, 2017 · 0 comments

Comments

@danielgoncharov
Copy link
Contributor

Right now the default error class that is returned from the api client is HttpError but when error json is not matching HttpError and there is no CallSpec::errorAs defined than the api client instead of HttpException will throw JsonSerializationException.

Expected behaviour:
HttpException with String as an field error

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant