Skip to content

Commit b8b3b44

Browse files
author
Ikko Ashimine
authored
[SignalR TS] Fix typo in Errors.ts (#36367)
occured -> occurred
1 parent c23a0e6 commit b8b3b44

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/SignalR/clients/ts/signalr/src/Errors.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export class UnsupportedTransportError extends Error {
7575
// eslint-disable-next-line @typescript-eslint/naming-convention
7676
private __proto__: Error;
7777

78-
/** The {@link @microsoft/signalr.HttpTransportType} this error occured on. */
78+
/** The {@link @microsoft/signalr.HttpTransportType} this error occurred on. */
7979
public transport: HttpTransportType;
8080

8181
/** The type name of this error. */
@@ -84,7 +84,7 @@ export class UnsupportedTransportError extends Error {
8484
/** Constructs a new instance of {@link @microsoft/signalr.UnsupportedTransportError}.
8585
*
8686
* @param {string} message A descriptive error message.
87-
* @param {HttpTransportType} transport The {@link @microsoft/signalr.HttpTransportType} this error occured on.
87+
* @param {HttpTransportType} transport The {@link @microsoft/signalr.HttpTransportType} this error occurred on.
8888
*/
8989
constructor(message: string, transport: HttpTransportType) {
9090
const trueProto = new.target.prototype;
@@ -105,7 +105,7 @@ export class DisabledTransportError extends Error {
105105
// eslint-disable-next-line @typescript-eslint/naming-convention
106106
private __proto__: Error;
107107

108-
/** The {@link @microsoft/signalr.HttpTransportType} this error occured on. */
108+
/** The {@link @microsoft/signalr.HttpTransportType} this error occurred on. */
109109
public transport: HttpTransportType;
110110

111111
/** The type name of this error. */
@@ -114,7 +114,7 @@ export class DisabledTransportError extends Error {
114114
/** Constructs a new instance of {@link @microsoft/signalr.DisabledTransportError}.
115115
*
116116
* @param {string} message A descriptive error message.
117-
* @param {HttpTransportType} transport The {@link @microsoft/signalr.HttpTransportType} this error occured on.
117+
* @param {HttpTransportType} transport The {@link @microsoft/signalr.HttpTransportType} this error occurred on.
118118
*/
119119
constructor(message: string, transport: HttpTransportType) {
120120
const trueProto = new.target.prototype;
@@ -135,7 +135,7 @@ export class FailedToStartTransportError extends Error {
135135
// eslint-disable-next-line @typescript-eslint/naming-convention
136136
private __proto__: Error;
137137

138-
/** The {@link @microsoft/signalr.HttpTransportType} this error occured on. */
138+
/** The {@link @microsoft/signalr.HttpTransportType} this error occurred on. */
139139
public transport: HttpTransportType;
140140

141141
/** The type name of this error. */
@@ -144,7 +144,7 @@ export class FailedToStartTransportError extends Error {
144144
/** Constructs a new instance of {@link @microsoft/signalr.FailedToStartTransportError}.
145145
*
146146
* @param {string} message A descriptive error message.
147-
* @param {HttpTransportType} transport The {@link @microsoft/signalr.HttpTransportType} this error occured on.
147+
* @param {HttpTransportType} transport The {@link @microsoft/signalr.HttpTransportType} this error occurred on.
148148
*/
149149
constructor(message: string, transport: HttpTransportType) {
150150
const trueProto = new.target.prototype;
@@ -158,7 +158,7 @@ export class FailedToStartTransportError extends Error {
158158
}
159159
}
160160

161-
/** Error thrown when multiple errors have occured. */
161+
/** Error thrown when multiple errors have occurred. */
162162
/** @private */
163163
export class AggregateErrors extends Error {
164164
// @ts-ignore: Intentionally unused.

0 commit comments

Comments
 (0)