Fixed Issue 78731 (#78732)
Fixed Issue 78731 (#78732)

* Fixed Issue 78731

The error handler for OpenLinkOccurrence handled the case of 'invalid' or 'message', but the function returns an error of new Error('invalid') or new Error('missing') instead of 'invalid' or 'missing'. This causes the editor to throw an unhandled exception instead of a warning message. This fix checks for an err.message as well as err for 'invalid' or 'missing'

eamodio/vscode,Microsoft/vscode,Krzysztof-Cieslak/vscode,Krzysztof-Cieslak/vscode,hoovercj/vscode,joaomoreno/vscode,microsoft/vscode,eamodio/vscode,hoovercj/vscode,hoovercj/vscode,the-ress/vscode,hoovercj/vscode,Microsoft/vscode,joaomoreno/vscode,the-ress/vscode,hoovercj/vscode,eamodio/vscode,joaomoreno/vscode,hoovercj/vscode,Microsoft/vscode,the-ress/vscode,Microsoft/vscode,Krzysztof-Cieslak/vscode,microsoft/vscode,microsoft/vscode,Microsoft/vscode,the-ress/vscode,eamodio/vscode,eamodio/vscode,joaomoreno/vscode,microsoft/vscode,joaomoreno/vscode,Krzysztof-Cieslak/vscode,microsoft/vscode,Krzysztof-Cieslak/vscode,Microsoft/vscode,Krzysztof-Cieslak/vscode,the-ress/vscode,eamodio/vscode,Microsoft/vscode,eamodio/vscode,Microsoft/vscode,the-ress/vscode,Krzysztof-Cieslak/vscode,hoovercj/vscode,microsoft/vscode,the-ress/vscode,microsoft/vscode,hoovercj/vscode,eamodio/vscode,joaomoreno/vscode,eamodio/vscode,Microsoft/vscode,microsoft/vscode,hoovercj/vscode,joaomoreno/vscode,eamodio/vscode,Microsoft/vscode,eamodio/vscode,microsoft/vscode,eamodio/vscode,microsoft/vscode,Microsoft/vscode,eamodio/vscode,hoovercj/vscode,Microsoft/vscode,hoovercj/vscode,microsoft/vscode,the-ress/vscode,the-ress/vscode,hoovercj/vscode,the-ress/vscode,Krzysztof-Cieslak/vscode,hoovercj/vscode,microsoft/vscode,microsoft/vscode,hoovercj/vscode,joaomoreno/vscode,Microsoft/vscode,the-ress/vscode,Microsoft/vscode,Krzysztof-Cieslak/vscode,Krzysztof-Cieslak/vscode,microsoft/vscode,the-ress/vscode,the-ress/vscode,eamodio/vscode,eamodio/vscode,joaomoreno/vscode,joaomoreno/vscode,eamodio/vscode,joaomoreno/vscode,Krzysztof-Cieslak/vscode,joaomoreno/vscode,hoovercj/vscode,the-ress/vscode,the-ress/vscode,microsoft/vscode,Microsoft/vscode,the-ress/vscode,Krzysztof-Cieslak/vscode,joaomoreno/vscode,joaomoreno/vscode,microsoft/vscode,joaomoreno/vscode,joaomoreno/vscode,Krzysztof-Cieslak/vscode,hoovercj/vscode,Microsoft/vscode,joaomoreno/vscode,microsoft/vscode,Krzysztof-Cieslak/vscode,Krzysztof-Cieslak/vscode,eamodio/vscode,hoovercj/vscode,Microsoft/vscode,Krzysztof-Cieslak/vscode,Krzysztof-Cieslak/vscode