JS_CODE_REQUIRED = 'js_code_required'
WECHAT_USER_CREATION_FAILED = 'wechat_user_creation_failure'
WECHAT_LOGIN_EXCEPTION = 'wechat_login_exception'

LOCATION_NAME_REPEAT = 'location_name_repeat'
LOCATION_NAME_EMPTY = 'location_name_empty'

LOCATION_PARAMETER_MISSING = 'location_params_missing'

LOCATION_CREATION_FAILURE = 'location_creation_failure'
LOCATION_DELETION_FAILURE = 'location_deletion_failure'

LOCATION_OWNER_CANNOT_BE_MEMBER = 'location_owner_cannot_be_member'
LOCATION_ALREADY_JOINED = 'location_already_joind'
LOCATION_NOT_EXIST = 'location_not_exist'

LOCATION_MEMBERSHIP_FAIL = 'location_membership_fail'
LOCATION_MEMBERSHIP_WRONG_USER_ID = 'location_membership_wrong_user_id'