StitchResult

public enum StitchResult<T>

StitchResult holds the result to an asynchronous operation performed against the Stitch server. When the operation was completed successfully, it holds the result of the operation. When the operation fails, it contains a StitchError object describing the reason for the failure.

  • A successful operation, containing the result of the operation.

    Declaration

    Swift

    case success(result: T)
  • A failed operation, with an error describing the cause of the failure.

    Declaration

    Swift

    case failure(error: StitchError)