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

Improve errors for .NET client #515

Closed
davidfowl opened this issue Jul 7, 2012 · 5 comments
Closed

Improve errors for .NET client #515

davidfowl opened this issue Jul 7, 2012 · 5 comments
Assignees
Milestone

Comments

@davidfowl
Copy link
Member

@davidfowl davidfowl commented Jul 7, 2012

Throw a new error with the text from the server when something fails.

@ghost ghost assigned davidfowl Jul 7, 2012
@tlnagy

This comment has been minimized.

Copy link

@tlnagy tlnagy commented Aug 2, 2012

Could this be the reason I'm seeing errors such as JsonSerializationExceptions instead of the errors that I throw on the server?

@davidfowl

This comment has been minimized.

Copy link
Member Author

@davidfowl davidfowl commented Aug 2, 2012

When are you seeing errors?

@tlnagy

This comment has been minimized.

Copy link

@tlnagy tlnagy commented Aug 2, 2012

It's when I throw an exception excepting my test console application to receive a nice error telling the user what they did wrong. However, I usually receive an aggregate exception that when I flatten contains a JsonSerializationException when it's trying to serialize a null to a boolean.

@davidfowl

This comment has been minimized.

Copy link
Member Author

@davidfowl davidfowl commented Aug 3, 2012

Can you show a code sample.

@ghost ghost assigned NTaylorMullen Aug 3, 2012
davidfowl added a commit that referenced this issue Aug 14, 2012
Added custom SignalR error handling capability - Fixed #515
@NTaylorMullen

This comment has been minimized.

Copy link
Contributor

@NTaylorMullen NTaylorMullen commented Aug 17, 2012

Added feature label because this includes the SignalRError clss for error handling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.