CancellationError

    An error that indicates a task was canceled.

    iOS
    13.0+
    macOS
    10.15+
    tvOS
    13.0+
    watchOS
    6.0+
    struct CancellationError

    This error is also thrown automatically by Task.checkCancellation(), if the current task has been canceled.

    Citizens in _Concurrency

    Conformances

    Type members