public / com.revenuecat.purchases / PurchasesError

PurchasesError

class PurchasesError

This class represents an error

Parameters

code - Error code

underlyingErrorMessage - Optional error message with a more detailed explanation of the error that originated this.

Constructors

<init>

This class represents an error

PurchasesError(code: PurchasesErrorCode, underlyingErrorMessage: String? = null)

Properties

code

Error code

val code: PurchasesErrorCode

message

val message: String

underlyingErrorMessage

Optional error message with a more detailed explanation of the error that originated this.

val underlyingErrorMessage: String?

Functions

toString

fun toString(): String