TKMError
TKMError is used to represent errors inside many of the SDK’s components. To
retrieve more information about the type of exception, the result of errorCode
must be inspected.
-
Returns the errors’s inner descriptor. The error descriptor contains the error’s actual properties, such as error message, error code and additional error data.
-
Returns the exception’s error message. This property returns
TKMErrorDescriptor.errorMessage
of the inner error descriptor. -
Returns the exception’s error code. This property returns
TKMErrorDescriptor.errorCode
of the inner error descriptor. -
Creates a TKMError with the given error code.
-
Creates a new TKMError with the given error descriptor.