JoaoJandre opened a new issue, #14692:
URL: https://github.com/apache/cloudstack/issues/14692

   ### The required feature described as a wish
   
   As a Admin I would like to have more informative error messages. Meanwhile, 
I do not want the end-users to receive too much information about the system or 
infrastructure. It would be interesting to have a way so that the APIs return 
different errors depending on my Role type.
   
   Without putting too much thought into it, we could extend the ACS 
exceptions, like the `CloudRuntimeException`, to have optional constructors 
with multiple messages, and when returning those messages in the API response 
we would check for the Role type and send the correct message.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

  • [I] Dynamic error messages [c... JoaoJandre (via GitHub) via commits

Reply via email to