You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've had a number of customers complain or get confused about the fact that the generated text in the exception is an invalid status code (even though the status code is listed in string form afterwards).
I personally actually see where they are coming from - "Invalid" makes me thing of an HTTP status code which is not a valid status code (i.e. returning -1 or something).
It would be clearer if this text said something like: "Operation returned an unexpected status code 'XYZ'" or "Operation returned an HTTP status code 'XYZ' which does not represent a success"
Is a change like this something you'd be open to?
The text was updated successfully, but these errors were encountered:
@matthchr Improving the messaging in auto generated exceptions is something we have worked on in the CSharp generator but it hasn't been released yet. We should probably be able to take this change in the generator repo. Will reopen this issue there.
We've had a number of customers complain or get confused about the fact that the generated text in the exception is an invalid status code (even though the status code is listed in string form afterwards).
I personally actually see where they are coming from - "Invalid" makes me thing of an HTTP status code which is not a valid status code (i.e. returning -1 or something).
It would be clearer if this text said something like: "Operation returned an unexpected status code 'XYZ'" or "Operation returned an HTTP status code 'XYZ' which does not represent a success"
Is a change like this something you'd be open to?
The text was updated successfully, but these errors were encountered: