AdaptySDK 4.1.1
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.

Package Functions

 AdaptyError (AdaptyErrorCode Code, string Message, string Detail)

Private Member Functions

 AdaptyError ()

Detailed Description

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

Constructor & Destructor Documentation

◆ AdaptyError() [1/2]

AdaptySDK.AdaptyError.AdaptyError ( )
private

◆ AdaptyError() [2/2]

AdaptySDK.AdaptyError.AdaptyError ( AdaptyErrorCode Code,
string Message,
string Detail )
package

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: