Signals cooperative cancellation with a machine-readable reason.
classifyError treats this type as cancellation rather than an unexpected
failure; callers still receive the same rejection and choose how to present it.
Example
if (context.signal.aborted) { thrownewOperationCancelledError(CancellationReason.ApplicationStopping); }
Signals cooperative cancellation with a machine-readable reason.
classifyErrortreats this type as cancellation rather than an unexpected failure; callers still receive the same rejection and choose how to present it.Example