-
Notifications
You must be signed in to change notification settings - Fork 914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Fix status error returned from rest code #2521
Comments
Howdy 🖐 gnufied ! Thank you for your interest in this project. We value your feedback and will respond soon. If you want to contribute to this project, please make yourself familiar with the |
@dougm this is also something I think we should address mid-term. Not sure about the impact on the APIs, thoughts? |
Agreed, I had started to look at doing this a while back.. was thinking we could export the existing Lines 560 to 584 in 4a7de71
|
Interested in seeing this come about. A few more options:
|
Agreed, this is a must have.
I think we still want to return the
Yes, need to revisit that too |
This issue is stale because it has been open for 90 days with no |
/remove-lifecycle stale |
This issue is stale because it has been open for 90 days with no |
/remove-lifecycle stale |
This issue is stale because it has been open for 90 days with no |
/remove-lifecycle stale |
Describe the bug
When creating tags or cateogies, the sdk returns following error type:
https://github.com/vmware/govmomi/blob/master/vapi/rest/client.go#L178
The problem is - users of library generally want to know the http error code at very minimum, so as they can make reasonable assumption about error. Such as - did getting a resource failed because of network error or was it 404?
The text was updated successfully, but these errors were encountered: