Variables | |
| NSString *const | PTDiffusionUnderlyingErrorsKey |
Collection of errors that can be raised by the Apple Client SDK.
Errors with values from 100 to 501 originate from the Diffusion server. Remaining errors are unique to the Diffusion Apple Client SDK.
| enum PTDiffusionError |
Enumeration of error codes that can be raised by the Apple Client SDK.
| Enumerator | |
|---|---|
| PTDiffusionError_CommunicationFailure | Communication with the server failed. |
| PTDiffusionError_SessionClosed | Communication with the server failed because the session is closed. |
| PTDiffusionError_RequestTimeOut | Communication with the server failed due to a service request timeout. |
| PTDiffusionError_AccessDenied | The request was rejected because the used principal has insufficient permissions. |
| PTDiffusionError_Unsupported | The request was rejected because the requested service is unsupported for this client.
|
| PTDiffusionError_CallbackException | An application callback threw an exception. Check logs for more information.
|
| PTDiffusionError_InvalidData | An operation failed because invalid data was received.
|
| PTDiffusionError_NoSuchSession | The session does not exist on the server.
|
| PTDiffusionError_IncompatibleDataType | A datatype operation has failed due to incompatibility.
|
| PTDiffusionError_UnhandledMessage | A message was not handled by the server.
|
| PTDiffusionError_ClusterRepartition | The cluster was repartitioning and the request could not be routed.
|
| PTDiffusionError_IncompatibleState | A topic update could not be performed because the topic is managed by a component which prohibits external updates.
|
| PTDiffusionError_ClusterRouting | The cluster operation could not be routed.
|
| PTDiffusionError_TopicTreeRegistrationConflict | A conflicting registration exists on the same branch of the topic tree.
|
| PTDiffusionError_HandlerConflict | A conflicting registration exists. |
| PTDiffusionError_InvalidPath | An invalid path was supplied. |
| PTDiffusionError_IncompatibleUpdate | Incompatible update. |
| PTDiffusionError_UpdateFailed | Topic update failed. |
| PTDiffusionError_NoSuchTopic | No topic was found. |
| PTDiffusionError_TopicIsNotTimeSeries | Topic is not a time series topic. |
| PTDiffusionError_NoSuchEvent | No times series event was found. |
| PTDiffusionError_RejectedRequest | A request has been rejected. |
| PTDiffusionError_TopicExistsMismatch | A topic could not be added because one already exists with a different specification. |
| PTDiffusionError_InvalidTopicPath | A topic could not be added because an invalid path was specified. |
| PTDiffusionError_InvalidTopicSpecification | A topic could not be added because an invalid specification was supplied. |
| PTDiffusionError_TopicLicenseLimit | A topic could not be added because the topic would breach a licensing limit. |
| PTDiffusionError_IncompatibleTopicExists | A topic could not be added because an incompatible topic already exists at the specified path. |
| PTDiffusionError_UnexpectedTopicAddFailure | An unexpected error occurred when creating a topic. |
| PTDiffusionError_UnsatisfiedConstraint | The topic update failed because the constraint was not satisfied. |
| PTDiffusionError_InvalidUpdateStream | The topic update failed because the update stream is no longer valid. |
| PTDiffusionError_InvalidJsonPatch | Parsing the JSON patch failed. |
| PTDiffusionError_ApplyPatchFail | The JSON patch failed to apply. This happens when attempting to parse an illegal CBOR value. |
| PTDiffusionError_RemoteServerExists | A remote server with the specified name already exists. |
| PTDiffusionError_InvalidBranchMappings | An invalid branch mapping was supplied.
|
| PTDiffusionError_Overflow | Overflow occurred during a function.
|
| PTDiffusionError_DeserialisationError | Error while deserializing information.
|
| PTDiffusionError_UnknownValueType | Unexpected class detected when setting session properties.
|
| PTDiffusionError_UnexpectedValue | Unexpected value detected when setting session properties.
|
| PTDiffusionError_InvalidFilter | Invalid session filter.
|
| PTDiffusionError_UnknownEncoding | Unexpected encoding detected while deserialising data.
|
| PTDiffusionError_ValueNotInEnumeration | Unexpected value detected for enumeration in question.
|
| PTDiffusionError_MessageSerialisationFailed | Error while serialising message from the transport layer.
|
| PTDiffusionError_StringWillNotEncodeToUTF8Losslessly | JSON cannot be encoded as JSON string due to non-UTF8 characters.
|
| PTDiffusionError_EmptyCBOR | Unable to read value as CBOR is empty.
|
| PTDiffusionError_UnhandledCBOR | Unhandled CBOR operation.
|
| PTDiffusionError_SetReadValueCalledMultipleTimes | Value has been read multiple times.
|
| PTDiffusionError_AuthenticationFailure | Unable to authenticate the principal, in the context of changing principal for the current session.
|
| PTDiffusionError_SessionFailedToCreateTransport | An internal error occurred that prevented the session from creating the transport layer.
|
| PTDiffusionError_SessionClosedByTransport | Session has been closed by the transport layer.
|
| PTDiffusionError_ConnectionAbortedByReconnectionStrategy | Connection has been aborted by the reconnection strategy.
|
| PTDiffusionError_SessionClosedDueToInactivity | Session has been closed due to inactivity.
|
| PTDiffusionError_MessageTypeNotSupportedForRouting | The received message type is not supported for routing.
|
| PTDiffusionError_MessageHeadersMissingFetchConversationId | Conversation ID was not found in the message headers.
|
| PTDiffusionError_ReconnectionTimeout | Reconnection has timed out.
|
| PTDiffusionError_SessionIdComponentCount | Invalid string representation for session id.
|
| PTDiffusionError_SessionIdCharacterCount | Invalid string representation for session id.
|
| PTDiffusionError_SessionIdInvalidHexCharacters | Invalid hex characters detected in session id.
|
| PTDiffusionError_SessionIdScanHigh | Invalid value detected for token in session id.
|
| PTDiffusionError_SessionIdScanLow | Invalid value detected for token in session id.
|
| PTDiffusionError_SessionLockCancelled | Session lock has been cancelled.
|
| PTDiffusionError_DataTypeNotCompatible | Incompatible datatypes.
|
| PTDiffusionError_StreamExhausted | Unable to deserialize required information from stream.
|
| PTDiffusionError_FailedToCreateTopicView | Failed to create topic view.
|
| PTDiffusionError_CBORNotSupported | CBOR functionality is not supported.
|
| PTDiffusionError_CBORUnexpectedItem | Unexpected item detected while parsing CBOR.
|
| PTDiffusionError_CBORImmutableContainer | Unable to append object as the container is immutable.
|
| PTDiffusionError_CBORMissingCodec | No instructions were parsed by the CBOR codec.
|
| PTDiffusionError_CBORUnfinishedContainer | Insufficient instructions were parsed by the CBOR codec.
|
| PTDiffusionError_CBORDocumentAlreadySet | Unable to append more objects as the document is already set.
|
| PTDiffusionError_CBORIncompleteMapEntry | A map entry in the CBOR is incomplete.
|
| PTDiffusionError_CBOR64BitUnsupportedOnThisRuntime | Unable to support 64-bit CBOR encoding in the current environment.
|
| PTDiffusionError_OutOfRange | Value is out of range.
|
| PTDiffusionError_CBORUnhandledInfoValue | Provided additional information was unhandled.
|
| PTDiffusionError_CBORInvalidUTF8 | Unable to parse string due to non-UTF8 characters.
|
| PTDiffusionError_CBORParsingUnhandledType | Parsing of a particular type is unhandled.
|
| PTDiffusionError_CBORSerialisationUnhandledType | Unable to serialize a type using CBOR codec.
|
| PTDiffusionError_CBORSerialisationUnhandledClass | Unable to serialize a class using CBOR codec.
|
| PTDiffusionError_CBORSerialisationMaximumRecursionDepthExceeded | Maximum recursion depth reached while running CBOR serialisation.
|
| PTDiffusionError_BinaryDeltaUnexpectedItem | Unexpected item detected while parsing the binary delta.
|
| PTDiffusionError_BinaryDeltaUnsupportedItem | Unsupported item for the purposes of binary delta parsing.
|
| PTDiffusionError_BinaryDeltaPendingCopyLength | Binary delta parsing is expecting the size of the copy.
|
| PTDiffusionError_BinaryDeltaPendingBreak | Binary delta parsing is expecting a break.
|
| PTDiffusionError_BinaryDeltaOutOfRangeForRuntime | Value is out of range for the current runtime environment.
|
| PTDiffusionError_DelegateNotFound | Delegate was not found.
|
| PTDiffusionError_MultipleTopicConstraintsFound | Multiple topic constraints found.
|
| PTDiffusionError_ConnectionResponseInsufficientData | Insufficient data for complete deserialisation.
|
| PTDiffusionError_ConnectionResponseUnknownValue | Unknown value detected for a given field.
|
| PTDiffusionError_InvalidState | The service is in an invalid state.
|
| PTDiffusionError_NoOldValueToApplyDeltaTo | Topic cache does not have enough information to resolve the received delta.
|
| PTDiffusionError_NoDeltaTypeAvailable | Topic cache does not have enough information to resolve the received delta type.
|
| PTDiffusionError_MessageHeadersToStringEncodingFailed | Encoding of message headers to string failed.
|
| PTDiffusionError_UnknownMessageType | Unknown message type.
|
| PTDiffusionError_UpdateStreamInvalidNilValue | Update Stream has an invalid value set for its datatype.
|
| PTDiffusionError_UnsupportedValueClass | Unable to convert received class into expected class.
|
| PTDiffusionError_UnhandledTypeReceived | Unexpected type received.
|
| PTDiffusionError_UnexpectedStringStart | Unexpected string start detected.
|
| PTDiffusionError_UnexpectedBreak | Unexpected break detected.
|
| PTDiffusionError_UnknownDataTypeName | Unknown datatype for received name.
|
| PTDiffusionError_DataLossTopicPathNotInCache | Received topic data which contradicts the topic cache.
|
| PTDiffusionError_InvalidSequenceOnCheckByPath | Topic path is already present in the topic cache.
|
| PTDiffusionError_InvalidSequenceOnCheckById | Topic id is already present in the topic cache.
|
| PTDiffusionError_UnableToGenerateNotifier | Unable to generate notifier from stream.
|
| PTDiffusionError_StreamRegistryClosed | Stream registry is closed.
|
| PTDiffusionError_BufferedDataReaderRequestInvalidState | Buffered data reader has been requested while transport layer is in an invalid state.
|
| PTDiffusionError_ConnectionResponseInvalidState | Connection response received while transport layer is in an invalid state.
|
| PTDiffusionError_MessageReceivedInvalidState | Message received while transport layer is in an invalid state.
|
| PTDiffusionError_UnknownReason | Error occurred for unknown reason.
|
| PTDiffusionError_HTTPMessageAppendDataError | Error occurred while appending data to the HTTP message.
|
| PTDiffusionError_InvalidStatusCode | Invalid status code received.
|
| PTDiffusionError_MissingAuthenticationChallengeHandler | Authentication challenge handler is not set.
|
| PTDiffusionError_MaximumConversationsReached | Maximum number of conversations has been reached.
|
| PTDiffusionError_JsonPointerExpressionInvalidStart | Invalid start of a JSON pointer expression.
|
| PTDiffusionError_FailedWriteToStream | Failed to write to stream.
|
| PTDiffusionError_UnknownStreamError | Unknown stream error.
|
| PTDiffusionError_FailedToVerifySSL | Failed to verify SSL.
|
| PTDiffusionError_WriteFailedMaxQueueSize | Maximum message queue exceeded when writing to stream.
|
| PTDiffusionError_WriteFailedFixedSize | Failed to write to stream of fixed size or reached capacity.
|
| PTDiffusionError_FailedToEnableSSL | Failed to enable SSL.
|
| PTDiffusionError_FailedToConfigureSSL | Failed to configure SSL.
|
| PTDiffusionError_ConnectionTimeout | Connection timeout.
|
| PTDiffusionError_UnexpectedHttpResponseCode | Unexpected HTTP response code.
|
| PTDiffusionError_UnexpectedHttpResponseHeaderValue | Unexpected HTTP response header value.
|
| PTDiffusionError_UnexpectedFrameOperationCode | Unexpected frame operation code.
|
| PTDiffusionError_MaximumPayloadLengthExceeded | Maximum payload length exceeded.
|
| PTDiffusionError_ConnectionClosed | Connection is closed.
|
| PTDiffusionError_InvalidFrameStart | Invalid frame start.
|
| PTDiffusionError_MaskedPayloadData | Payload data is masked.
|
| PTDiffusionError_64BitNotSupportedForRuntime | Unable to support 64-bit encoding in the current environment.
|
| PTDiffusionError_ZlibInitFailed | Failed to initialize compression stream.
|
| PTDiffusionError_ZlibProcessFailed | Failed to process compression.
|
| PTDiffusionError_ZlibDestroyFailed | Failed to destroy compression stream.
|
| PTDiffusionError_ZlibCompressedDataTooSmall | Compressed data is too small.
|
| PTDiffusionError_ZlibCompressedDataHeaderIncorrect | Compressed data header is incorrect.
|
| PTDiffusionError_LastRecordIsNotVariable | Last record is not variable.
|
| PTDiffusionError_LastRecordHasReachedMaximumOccurrences | Last record has reached maximum occurrences.
|
| PTDiffusionError_LastRecordHasNoOccurrencesToAddFieldTo | Last record has no occurrences to add field to.
|
| PTDiffusionError_LastFieldIsNotVariable | Last field is not variable.
|
| PTDiffusionError_AddingValuesWouldExceedMaximumFieldOccurrences | Adding values would exceed maximum field occurrences.
|
| PTDiffusionError_RemovalWouldViolateTheMinimumNumberOfOccurrences | Removal would violate the minimum number of occurrences.
|
| PTDiffusionError_FormatterFailedToGenerate | Formatter failed to generate field.
|
| PTDiffusionError_InvalidCharactersInString | String contains invalid characters.
|
| PTDiffusionError_OperationError | Operation has resulted in an error.
|
| PTDiffusionError_EncodeFromUTF8Error | String cannot be encoded due to non-UTF8 characters.
|
| PTDiffusionError_DecodeToUTF8Error | Data cannot be decoded into string due to non-UTF8 characters.
|
| PTDiffusionError_RecordSchemaFieldKeyMissingName | Field key's name is missing.
|
| PTDiffusionError_RecordSchemaFieldKeyMissingClosingBracket | Field key is missing a closing bracket.
|
| PTDiffusionError_RecordSchemaFieldKeyCharactersFoundAfterClosingBracket | Characters found after closing bracket.
|
| PTDiffusionError_RecordSchemaFieldKeyIndexCouldNotBeParsed | Index in key could not be parsed.
|
| PTDiffusionError_RecordSchemaFieldKeyTooManyKeyParts | The key has too many parts.
|
| PTDiffusionError_InsufficientRecords | The total number of records is less than the minimum required.
|
| PTDiffusionError_TooManyRecords | The total number of records exceeds the maximum allowed.
|
| PTDiffusionError_InsufficientFields | The total number of fields is less than the minimum required.
|
| PTDiffusionError_RecordModelTooBig | The model size exceeds the maximum size.
|
| PTDiffusionError_RecordTooBig | The record size exceeds the maximum size.
|
| PTDiffusionError_TooManyFields | The total number of fields exceeds the maximum allowed.
|
| PTDiffusionError_ResolvedRecordIndexExceedsModelSize | The record size exceeds the maximum size.
|
| PTDiffusionError_ResolvedFieldIndexExceedsModelSize | The total number of fields exceeds the maximum allowed.
|
| PTDiffusionError_RecordSchemaRootIsNotObject | Root of the JSON is not a dictionary.
|
| PTDiffusionError_RecordSchemaNameIsNotString | Value in JSON is not a string.
|
| PTDiffusionError_RecordSchemaValueIsNotObject | Value in JSON is not a dictionary.
|
| PTDiffusionError_RecordSchemaValueIsNotNumber | Value in JSON is not a number.
|
| PTDiffusionError_RecordSchemaRecordHasNoFields | Record has no fields.
|
| PTDiffusionError_RecordSchemaValueIsNotArray | Value in JSON is not an array.
|
| PTDiffusionError_RecordSchemaFieldRecordsNotDefined | Records not found.
|
| PTDiffusionError_RecordSchemaCannotFindField | Cannot find field with given name.
|
| PTDiffusionError_RecordSchemaRecordNameNotDefined | Record name is not defined.
|
| PTDiffusionError_RecordSchemaFieldNameNotDefined | Field name is not defined.
|
| PTDiffusionError_RecordSchemaKeyIsNotString | Key is not a string.
|
| PTDiffusionError_RecordSchemaUnknownKey | Unknown key.
|
| PTDiffusionError_RecordSchemaUnknownRecordName | Record not found.
|
| PTDiffusionError_RecordBuilderNoCurrentRecord | Need to add a record before adding the fields.
|
| PTDiffusionError_RecordBuilderDuplicateFieldName | Field already exists with the same name.
|
| PTDiffusionError_RecordBuilderFieldAfterVariableMultiplicityField | Cannot add a field after a variable multiplicity field.
|
| PTDiffusionError_RecordBuilderEmptyFields | There are no fields for the current record.
|
| PTDiffusionError_RecordBuilderEmptyRecords | Records are empty.
|
| PTDiffusionError_RecordBuilderDuplicateRecordName | Record already exists with the same name. |
| PTDiffusionError_RecordSchemaScaleNotPositive | The scale is not positive.
|
| PTDiffusionError_RecordSchemaNegativeField | Field is negative.
|
| PTDiffusionError_RecordSchemaInvalidField | Field is invalid.
|
| PTDiffusionError_MisquotedInput | The string supplied has been encoded incorrectly.
|
| PTDiffusionError_SendToFilterRejected | The filter was rejected. The message was not sent to any clients.
|
| PTDiffusionError_Disconnected | The session was closed after being unexpectedly disconnected.
|
| PTDiffusionError_ClosedByClient | The session was closed locally.
|
| PTDiffusionError_Establishment | There was a problem when establishing a session. The session is closed. No further operations are possible.
|
| PTDiffusionError_Security | The session operation failed due to a security constraint. Repeating the operation with the same security credentials is likely to fail.
|
| PTDiffusionError_UnrecognizedResponseCode | The session operation failed due to an unrecognized response code.
|
| PTDiffusionError_ClosedByServer | The session was closed remotely.
|
| PTDiffusionError_ServerAborted | Server unexpectedly aborted.
|
| PTDiffusionError_KeyNotFoundInDictionary | Dictionary does not contain requested key.
|
| PTDiffusionError_InvalidArgument | Invalid argument for the method.
|
| PTDiffusionError_UpdateStreamRecoveryLimit | Update Stream recovery attempt limit has been reached.
|
| PTDiffusionError_ValueSerialisation | Failed to serialise value.
|
| PTDiffusionError_ClientVersionDowngrade | Invalid Protocol Version.
|
| PTDiffusionError_RedirectMissingLocation | An HTTP redirect response did not include a Location header.
|
| PTDiffusionError_InvalidRedirectLocation | An HTTP redirect response included a Location header that is not a ws://, wss://, http:// or https:// URL with a host and a port from 1 to 65535, or a reference relative to the redirected URL.
|
| PTDiffusionError_RedirectLimitExceeded | The number of HTTP redirects for a single connection attempt exceeded the allowed limit.
|
| PTDiffusionError_DuplicateRedirect | An HTTP redirect attempted to redirect to a URL already visited during the current connection attempt.
|
| PTDiffusionError_InsecureRedirectDowngrade | An HTTP redirect from a secure (wss) connection pointed to an insecure (ws or http) location.
|
| PTDiffusionError_Redirected | Internal signal used to convey that an HTTP redirect was received during connection establishment.
|
| PTDiffusionError_UnsupportedRedirectStatus | An HTTP redirect response had a status other than 301, 302, 307 or 308, which are the only redirect statuses followed.
|
|
extern |
Key used in the userInfo dictionary of an array of NSError objects, having the potential to convey more than one error encountered by an underlying implementation.
The associated value is an array of one or more NSError objects.