Enumerations

The following enumerations are available globally.

  • Enum representing the amount of failure which is acceptable in a SIMD parallel behavior (such as map and filter).

    See more

    Declaration

    Swift

    public enum FailureRate
  • Enum describing possible reponses to a failed invariant.

    • suppress: No action is taken.
    • warn: Print a warning message to the console
    • assert: Invoke assertionFailure with failure message
    • fail: Invoke preconditonFailure with failure message
    • custom: Invoke a custom handler with the falure message
    See more

    Declaration

    Swift

    public enum FaultResponse
  • An enum containing the result of an operation which might fail.

    • success: The operation was successful.
    • failure: The operation was not successful.
    • let.success:: The result T of the operation.
    • let.failure:: The error describing the failure.
    See more

    Declaration

    Swift

    public enum FailableResult<T> : FailableResultProtocol