TTLServiceServerConnectionFailedReason Class Reference

Inherits from NSObject
Declared in TTLServiceEventDelegate.h

Overview

Reason why the connection to the server (backend services) failed.

The reason is delivered as a NSError which contains a localized string in the userInfo dictionary (‘NSLocalizedDescriptionKey’ and ‘NSLocalizedFailureReasonErrorKey’ are supported).

  error

A NSError which contains the reason for the failure.

@property (nonatomic) NSError *error

Discussion

A NSError which contains the reason for the failure.

Possible error codes: - TTL_SERVICE_ERROR_CODE_SERVER_CONNECTION_WRONG_DEVICE_ID: The device can not be used with that account (maybe the account is already bound to another device or the device itself is bound to another account) - TTL_SERVICE_ERROR_CODE_SERVER_CONNECTION_WRONG_CREDENTIALS: A login with the credentials is not possible (probably a typo) - TTL_SERVICE_ERROR_CODE_SERVER_CONNECTION_FAILED: The connection failed because of network problems.

Declared In

TTLServiceEventDelegate.h

– description

- (NSString *_Nonnull)description