@@ -12,9 +12,9 @@ error_categories:
1212 - NeedRetargettingError
1313 - WriteConcernError
1414 - ShutdownError
15- # isCancelationError () includes all codes that,when passed to a function as its parameter
15+ # isCancellationError () includes all codes that,when passed to a function as its parameter
1616 # indicates that it cannot be executed as normal and must abort its intended work.
17- - CancelationError
17+ - CancellationError
1818 - ConnectionFatalMessageParseError
1919 - ExceededTimeLimitError
2020 - SnapshotError
@@ -122,10 +122,10 @@ error_codes:
122122 - {code: 87,name: CannotSplit}
123123 - {code: 88,name: OBSOLETE_SplitFailed}
124124 - {code: 89,name: NetworkTimeout,categories: [NetworkError,RetriableError,NetworkTimeoutError]}
125- - {code: 90,name: CallbackCanceled,categories: [CancelationError ]}
125+ - {code: 90,name: CallbackCanceled,categories: [CancellationError ]}
126126 - {code: 91,name: ShutdownInProgress,
127127 extra : ShutdownInProgressQuiesceInfo,
128- categories : [ShutdownError,CancelationError ,RetriableError],
128+ categories : [ShutdownError,CancellationError ,RetriableError],
129129 extraIsOptional : True}
130130 - {code: 92,name: SecondaryAheadOfPrimary}
131131 - {code: 93,name: InvalidReplicaSetConfig}
@@ -368,10 +368,10 @@ error_codes:
368368 - {code: 307,name: RangeDeletionAbandonedBecauseTaskDocumentDoesNotExist}
369369 - {code: 308,name: CurrentConfigNotCommittedYet}
370370 - {code: 309,name: ExhaustCommandFinished}
371- - {code: 310,name: PeriodicJobIsStopped,categories: [CancelationError ]}
371+ - {code: 310,name: PeriodicJobIsStopped,categories: [CancellationError ]}
372372
373373 - {code: 311,name: TransactionCoordinatorCanceled,categories: [InternalOnly]}
374- - {code: 312,name: OperationIsKilledAndDelisted,categories: [CancelationError ,InternalOnly]}
374+ - {code: 312,name: OperationIsKilledAndDelisted,categories: [CancellationError ,InternalOnly]}
375375
376376 - {code: 313,name: ResumableRangeDeleterDisabled}
377377 - {code: 314,name: ObjectIsBusy}
@@ -409,7 +409,7 @@ error_codes:
409409
410410 - {code: 332, name: CannotDowngrade}
411411
412- - {code: 333, name: ServiceExecutorInShutdown, categories: [ShutdownError,CancelationError ,InternalOnly]}
412+ - {code: 333, name: ServiceExecutorInShutdown, categories: [ShutdownError,CancellationError ,InternalOnly]}
413413 - {code: 334, name: MechanismUnavailable}
414414
415415 - {code: 335, name: TenantMigrationForgotten}
@@ -429,7 +429,7 @@ error_codes:
429429 - {code: 10107,name: NotWritablePrimary,categories: [NotPrimaryError,RetriableError]}
430430 - {code: 10334,name: BSONObjectTooLarge}
431431 - {code: 11000,name: DuplicateKey,extra: DuplicateKeyErrorInfo}
432- - {code: 11600,name: InterruptedAtShutdown,categories: [Interruption,ShutdownError,CancelationError ,RetriableError]}
432+ - {code: 11600,name: InterruptedAtShutdown,categories: [Interruption,ShutdownError,CancellationError ,RetriableError]}
433433 - {code: 11601,name: Interrupted,categories: [Interruption]}
434434 - {code: 11602,name: InterruptedDueToReplStateChange,categories: [Interruption,NotPrimaryError,RetriableError]}
435435 - {code: 12586,name: BackgroundOperationInProgressForDatabase}
@@ -444,5 +444,5 @@ error_codes:
444444 - {code: 13436,name: NotPrimaryOrSecondary,categories: [NotPrimaryError,RetriableError]}
445445 - {code: 14031,name: OutOfDiskSpace}
446446 - {code: 17280,name: OBSOLETE_KeyTooLong}
447- - {code: 46841,name: ClientMarkedKilled,categories: [Interruption,CancelationError ]}
447+ - {code: 46841,name: ClientMarkedKilled,categories: [Interruption,CancellationError ]}
448448
0 commit comments