Module: VWO::Common::Enums::LogMessageEnum::ErrorMessages

Defined in:
lib/vwo/common/enums.rb

Overview

Classobj encapsulating various ERROR messages

Constant Summary collapse

PROJECT_CONFIG_CORRUPTED =
'(%<file>s): config passed to createInstance is not a valid JSON object.'
INVALID_CONFIGURATION =
'(%<file>s): SDK configuration or account settings or both is/are not valid.'
SETTINGS_FILE_CORRUPTED =
'(%<file>s): Settings file is corrupted. Please contact VWO Support for help.'
ACTIVATE_API_MISSING_PARAMS =
'(%<file>s): "activate" API got bad parameters. It expects campaignTestKey(String) as first and userId(String) as second argument'
ACTIVATE_API_CONFIG_CORRUPTED =
'(%<file>s): "activate" API has corrupted configuration'
GET_VARIATION_API_MISSING_PARAMS =
'(%<file>s): "getVariation" API got bad parameters. It expects campaignTestKey(String) as first and userId(String) as second argument'
GET_VARIATION_API_CONFIG_CORRUPTED =
'(%<file>s): "getVariation" API has corrupted configuration'
TRACK_API_MISSING_PARAMS =
'(%<file>s): "track" API got bad parameters. It expects campaignTestKey(String) as first userId(String) as second and goalIdentifier(String/Number) as third argument. Fourth is revenueValue(Float/Number/String) and is required for revenue goal only.'
TRACK_API_CONFIG_CORRUPTED =
'(%<file>s): "track" API has corrupted configuration'
TRACK_API_GOAL_NOT_FOUND =
'(%<file>s): Goal:%<goal_identifier>s not found for campaign:%<campaign_test_key>s and userId:%<user_id>s'
TRACK_API_REVENUE_NOT_PASSED_FOR_REVENUE_GOAL =
'(%<file>s): Revenue value should be passed for revenue goal:%<goal_identifier>s for campaign:%<campaign_test_key>s and userId:%<user_id>s'
TRACK_API_VARIATION_NOT_FOUND =
'(%<file>s): Variation not found for campaign:%<campaign_test_key>s and userId:%<user_id>s'
CAMPAIGN_NOT_RUNNING =
'(%<file>s): API used:%<api>s - Campaign:%<campaign_test_key>s is not RUNNING. Please verify from VWO App'
LOOK_UP_USER_PROFILE_SERVICE_FAILED =
'(%<file>s): Looking data from UserProfileService failed for userId:%<user_id>s'
SAVE_USER_PROFILE_SERVICE_FAILED =
'(%<file>s): Saving data into UserProfileService failed for userId:%<user_id>s'
INVALID_CAMPAIGN =
'(%<file>s): Invalid campaign passed to %<method>s of this file'
INVALID_USER_ID =
'(%<file>s): Invalid userId:%<user_id>s passed to %<method>s of this file'
IMPRESSION_FAILED =
'(%<file>s): Impression event could not be sent to VWO - %<end_point>s'
CUSTOM_LOGGER_MISCONFIGURED =
'(%<file>s): Custom logger is provided but seems to have mis-configured. %<extra_info>s Please check the API Docs. Using default logger.'