ITCB_Errors
public enum ITCB_Errors : Error
This enum encapsulates the errors that are possible from the SDK.
-
These are Core Bluetooth internal errors.
Declaration
Swift
case coreBluetooth(Error?)
Parameters
error
The error from Core Bluetooth, associated with this enum instance.
-
The send (question or answer) failed. Which one will be obvious by the context.
Declaration
Swift
case sendFailed(Error?)
Parameters
error
The error from the system, associated with this enum instance. NOTE: This may be an instance of ITCB_RejectionReason
-
Unknown error or connection rejection.
Declaration
Swift
case unknown(Error?)
Parameters
error
Possible error code associated with this enum instance.
-
We send back text slugs, to be interpreted by the user app.
Possible values are:
"ITCB-SDK-ERROR-UNKNOWN"
: Unknown error"ITCB-SDK-ERROR-BLUETOOTH"
: Some Bluetooth error"ITCB-SDK-ERROR-SEND-FAILURE"
: Sending Failed
The user app should also extract any associated values.
Declaration
Swift
public var localizedDescription: String { get }