xing-android-sdk icon indicating copy to clipboard operation
xing-android-sdk copied to clipboard

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

Open danielgoncharov opened this issue 7 years ago • 0 comments

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

danielgoncharov avatar Aug 02 '17 13:08 danielgoncharov