LanguageModelError
An error type for language model specific errors.
Consumers of language models should check the code property to determine specific failure causes, like if(someError.code === vscode.LanguageModelError.NotFound.name) {...}
for the case of referring to an unknown language model. For unspecified errors the cause
-property will contain the actual error.