-
public final class PurchasesErrorThis class represents an error
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringmessageprivate final PurchasesErrorCodecodeprivate final StringunderlyingErrorMessage
-
Constructor Summary
Constructors Constructor Description PurchasesError(PurchasesErrorCode code, String underlyingErrorMessage)
-
Method Summary
Modifier and Type Method Description final StringgetMessage()final PurchasesErrorCodegetCode()final StringgetUnderlyingErrorMessage()StringtoString()-
-
Constructor Detail
-
PurchasesError
PurchasesError(PurchasesErrorCode code, String underlyingErrorMessage)
- Parameters:
code- Error codeunderlyingErrorMessage- Optional error message with a more detailed explanation of the error that originated this.
-
-
Method Detail
-
getMessage
final String getMessage()
-
getCode
final PurchasesErrorCode getCode()
-
getUnderlyingErrorMessage
final String getUnderlyingErrorMessage()
-
-
-
-