Error

public enum Error : Swift.Error

FutureEvent can fail with a Swift Error or because it was cancelled

  • Indicate a Future was cancelled before completion

    Declaration

    Swift

    case cancelled
  • Indicate a Future could not be completed due to an exception/Error

    Declaration

    Swift

    case error(Swift.Error)
  • Indicate a Future timed out

    Declaration

    Swift

    case timeout