TaskError

public enum TaskError : Error

This enum represents the various errors that can occur during the execution of a task

  • A Reactor‘s execute function failed.

    Declaration

    Swift

    case reactorFailed(type: Reactor.Type, error: Error)

    Parameters

    type

    the Type of the Reactor

    error

    The Error that the reactor failed with

  • A Reactor‘s execute function timed out.

    Declaration

    Swift

    case reactorTimedOut(type: Reactor.Type)

    Parameters

    type

    the Type of the Reactor

  • A task was cancelled

    Declaration

    Swift

    case cancelled
  • A task timed out

    Declaration

    Swift

    case timedOut
  • An unknown error occured

    Declaration

    Swift

    case unknown