Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exceptions documentation page needs a couple of samples #1069

Open
lostmsu opened this issue Aug 2, 2024 · 4 comments
Open

Exceptions documentation page needs a couple of samples #1069

lostmsu opened this issue Aug 2, 2024 · 4 comments
Labels

Comments

@lostmsu
Copy link

lostmsu commented Aug 2, 2024

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

No tasks being tracked yet.
@AArnott
Copy link
Member

AArnott commented Aug 29, 2024

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

@AArnott AArnott added the docs label Aug 29, 2024
@lostmsu
Copy link
Author

lostmsu commented Aug 30, 2024

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

@AArnott
Copy link
Member

AArnott commented Aug 30, 2024

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?

@lostmsu
Copy link
Author

lostmsu commented Aug 30, 2024

A sample is better than a thousand words.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants