CancellationRepresentableError

public protocol CancellationRepresentableError : Error

Convenience protocol for detection cancellation

  • returns true if the error is actually a cancellation

    Declaration

    Swift

    var representsCancellation: Bool { get }