AdaptySDK 4.1.2
Loading...
Searching...
No Matches
AdaptySDK.AdaptyError Class Referencesealed

A failure reported by the native SDK. Every completion handler takes one, and it is null when the call succeeded. More...

Public Member Functions

override string ToString ()
 A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.

Public Attributes

readonly AdaptyErrorCode Code
 What went wrong. Branch on this rather than on Message, which is not a contract.
readonly string Message
 A description of the failure, for a log. Not localized and not stable between versions.
readonly string Detail
 What the native side added about this particular failure — the underlying exception, a store response. Null when there is nothing to add.

Detailed Description

A failure reported by the native SDK. Every completion handler takes one, and it is null when the call succeeded.

Member Function Documentation

◆ ToString()

override string AdaptySDK.AdaptyError.ToString ( )

A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.

Member Data Documentation

◆ Code

readonly AdaptyErrorCode AdaptySDK.AdaptyError.Code

What went wrong. Branch on this rather than on Message, which is not a contract.

◆ Detail

readonly string AdaptySDK.AdaptyError.Detail

What the native side added about this particular failure — the underlying exception, a store response. Null when there is nothing to add.

◆ Message

readonly string AdaptySDK.AdaptyError.Message

A description of the failure, for a log. Not localized and not stable between versions.


The documentation for this class was generated from the following file:
  • Packages/com.adapty.unity-sdk/Runtime/Models/AdaptyError.cs