fun BackendErrorCode.toPurchasesError(underlyingErrorMessage: String): PurchasesError
fun Result.toPurchasesError(): PurchasesError