vs-streamjsonrpc icon indicating copy to clipboard operation
vs-streamjsonrpc copied to clipboard

Exceptions documentation page needs a couple of samples

Open lostmsu opened this issue 1 year ago • 4 comments

Definitely one example with the best practice on error handling to give us the users a good start.

And maybe one for passing .NET exception objects.

### Tasks

lostmsu avatar Aug 02 '24 04:08 lostmsu

What kinds of use cases are you looking for samples of?

AArnott avatar Aug 29 '24 20:08 AArnott

If implementation of my remote service throws an exception, what is the best way to handle it on the client.

lostmsu avatar Aug 30 '24 04:08 lostmsu

Thanks. To clarify, you don't find https://github.com/microsoft/vs-streamjsonrpc/blob/main/doc/exceptions.md#client-side-concerns to be adequate documentation?

AArnott avatar Aug 30 '24 15:08 AArnott

A sample is better than a thousand words.

lostmsu avatar Aug 30 '24 16:08 lostmsu