Package-level declarations
Types
Link copied to clipboard
data class PNDataSyncError(val code: String, val message: String, val path: String? = null, val location: PNDataSyncErrorLocation? = null)
A single error item from a DataSync error response ({"errors":[...]}). One response may carry several items, e.g. one per invalid field for DS-0004.
Link copied to clipboard
Character range inside a filter expression that a PNDataSyncError points at.
Functions
Link copied to clipboard
Code of the first DataSync error item, e.g. DS-0302, or null when dataSyncErrors is empty.
Link copied to clipboard
Parses the DataSync error envelope ({"errors":[{"errorCode":"DS-xxxx","message":...}]}) carried in PubNubException.jso.