Class

CloudKit.Response

The CloudKit.Response class is an abstract superclass for subclasses that encapsulate the response from server requests. Don’t create instances of this class. Instances of subclasses are returned by methods in the CloudKit.Container and CloudKit.Database classes. Most of these methods return a Promise object that resolves to a subclass of CloudKit.Response if the operation is successful.

Declaration

interface CloudKit.Response

Overview

For examples of methods that resolve to a CloudKit.Response subclass, read CloudKit.Database.

Topics

Handling Errors

hasErrors

A Boolean value indicating whether errors occurred in the request.

errors

Errors that occurred in the request.

Identifying the Class

isResponse

A Boolean value that indicates whether there is a response from the request.