google / eDistantObject

eDistantObject (eDO) - Remote invocation library for iOS
Apache License 2.0
174 stars 36 forks source link

Expose server decoding error for failed eDO invocation. #248

Closed copybara-service[bot] closed 2 years ago

copybara-service[bot] commented 2 years ago

Expose server decoding error for failed eDO invocation.

The decoding error is currently thrown as "inconsistent exception" for mismatching request and response ID. It's because server side fails to decode the eDO request so that it fails to add the request ID into the error response. As a fix, eDO client won't check request/response ID when EDOErrorResponse is produced.