Skip to content

Conversation

@TanayParikh
Copy link
Contributor

Fixes: #34765

@TanayParikh TanayParikh requested review from a team, BrennanConroy and halter73 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
// 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

3 participants