xing-android-sdk
xing-android-sdk copied to clipboard
Fall back to String if error returned from api client is not matching HttpError
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