Skip to content

Refactor SignalR Transports Errors #34766

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

Merged
merged 3 commits into from
Jul 28, 2021

Conversation

TanayParikh
Copy link
Contributor

Fixes: #34765

@TanayParikh TanayParikh requested review from BrennanConroy, halter73 and a team as code owners July 27, 2021 18:28
@TanayParikh TanayParikh added area-blazor Includes: Blazor, Razor Components area-signalr Includes: SignalR clients and servers labels Jul 27, 2021
@@ -3,7 +3,7 @@

// Everything that users need to access must be exported here. Including interfaces.
export { AbortSignal } from "./AbortController";
export { AbortError, HttpError, TimeoutError } from "./Errors";
export { AbortError, HttpError, TimeoutError, AggregateErrors, DisabledTransportError, FailedToStartTransportError, UnsupportedTransportError } from "./Errors";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These shouldn't be exported unless you want to bring them to API review

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's just for this one use case, may not make much sense to expose all these additional types (especially considering they aren't comprehensive on all potential HttpConnection exceptions). Updated 666db5a.

@TanayParikh TanayParikh enabled auto-merge (squash) July 28, 2021 19:47
@TanayParikh TanayParikh merged commit 6eaba08 into main Jul 28, 2021
@TanayParikh TanayParikh deleted the taparik/signalRRefactorTransportsErrors branch July 28, 2021 21:02
@ghost ghost added this to the 6.0-rc1 milestone Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components area-signalr Includes: SignalR clients and servers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor SignalR Transports Errors
2 participants