eclipse-symphony / symphony

Symphony project
MIT License
36 stars 28 forks source link

Enforce specific error type in CallRestAPI #492

Open RemindD opened 4 weeks ago

RemindD commented 4 weeks ago

Now we generic error type for return value of callRestAPI function in apiclient.go. There is mixed use of CoaError and SummarySpecError in the function. We need to define a unified format with statusCode and actual error like httpresponse.

msftcoderdjw commented 1 week ago

@linyguo to fix.