If API calls return an OdataError object, then find the error code and message in the object, and use it to create and throw the appropriate HTTP error exception, like other code does. So consumers of the SDK can get a consistent type of exception when something goes wrong.
Issue #200
If API calls return an OdataError object, then find the error code and message in the object, and use it to create and throw the appropriate HTTP error exception, like other code does. So consumers of the SDK can get a consistent type of exception when something goes wrong.