purchases / com.revenuecat.purchases / PurchasesError

PurchasesError

class PurchasesError : Parcelable

This class represents an error

Parameters

domain - Domain of the error

code - Error code

message - Message explaining the error

Types

CREATOR

companion object CREATOR : Creator<PurchasesError>

Constructors

<init>

PurchasesError(parcel: Parcel)PurchasesError(domain: ErrorDomains, code: Int, message: String?)

This class represents an error

Properties

code

val code: Int

Error code

domain

val domain: ErrorDomains

Domain of the error

message

val message: String?

Message explaining the error

Functions

describeContents

fun describeContents(): Int

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String

writeToParcel

fun writeToParcel(parcel: Parcel, flags: Int): Unit

Companion Object Functions

createFromParcel

fun createFromParcel(parcel: Parcel): PurchasesError

newArray

fun newArray(size: Int): Array<PurchasesError?>