Error responses should only be used for exceptional circumstances (e.g. a literal raised exception was caught) as opposed to "this thing wasn't found". In VS Code, for instance, error responses cause a pop-up to appear that you have to manually dismiss.
I checked all the other handlers and it looks like this was the only one still using the error response for something like this.
Error responses should only be used for exceptional circumstances (e.g. a literal raised exception was caught) as opposed to "this thing wasn't found". In VS Code, for instance, error responses cause a pop-up to appear that you have to manually dismiss.
I checked all the other handlers and it looks like this was the only one still using the error response for something like this.
Fixes #697.