salt-ext-modules-vmware icon indicating copy to clipboard operation
salt-ext-modules-vmware copied to clipboard

vmc api: raise exceptions on error

Open dhiltonp opened this issue 3 years ago • 0 comments

Currently vmc_request.call_api returns {"error": "reason"} on errors.

Errors should be thrown up the stack. We need to define a few Exception types and raise those.

dhiltonp avatar Oct 14 '21 15:10 dhiltonp