Vscode-extension-for-zowe: Preventing Errors when Creating Datasets

Created on 9 Dec 2019  路  3Comments  路  Source: zowe/vscode-extension-for-zowe

I tried creating a data set and got an allocation error. The source of my trouble was that I tried to create it without typing a proper qualifier. It would be nice to include that detail in the ghosted instruction in the text box. I.e.,, Name of Properly Qualified Dataset. The error messages that appear might also mention the need to properly qualify the dataset name.

image

This doesn't work because I don't have access to create a ds here.
image

image

This would work
image

Error Handling

All 3 comments

Even though I agree about the better user experience that a more readable error message provides, I'll be hesitant to go the route of "mapping" errors to our own messages.

I believe we moved away from this in the Zowe CLI for various reasons - maintainability being one of them.

Even though I agree about the better user experience that a more readable error message provides, I'll be hesitant to go the route of "mapping" errors to our own messages.

@zFernand0 Do you think the error message format of: error code + readable error message + zosmf error message is too much? Because I am doing this for the 401 issue but if you say that we shouldn't then I need to bring it up. I opened issue #388 in relation to this.

I'm afraid I'm not an expert when it comes to User Experience. 馃槩

As a user, I do not see a problem with lengthy messages as long as I can quickly figure out what I'm doing wrong. : )

Was this page helpful?
0 / 5 - 0 ratings