AskiaScript error codes
Please note that the AskiaScript errors are the same for both AskiaAnalyse and AskiaVista.
Description | Code |
ERR_SYNTAX_ERROR_OPERATOR | 101 |
ERR_PARENTHESIS_UNEXPECTED | 102 |
ERR_MISSING_CLOSING_PARENTHESIS | 103 |
ERR_INVALID_EXPRESSION | 104 |
ERR_AMBIGUOUS_SYNTAX | 105 |
ERR_SYNTAX_ERROR_VALUE | 106 |
ERR_BRACKET_UNEXPECTED | 107 |
ERR_MISSING_CLOSING_BRACKET | 108 |
ERR_EXPECTED_VALUE | 109 |
ERR_NUMBER_EXPECTED | 110 |
ERR_STRING_EXPECTED | 111 |
ERR_DATE_EXPECTED | 112 |
ERR_CANNOT_ADD | 113 |
ERR_CANNOT_SUBSTRACT | 114 |
ERR_CANNOT_INTERSECT | 115 |
ERR_CANNOT_MULTIPLY | 116 |
ERR_CANNOT_DIVIDE | 117 |
ERR_CANNOT_APPLY_MODULO | 118 |
ERR_CANNOT_COMPARE | 119 |
ERR_CANNOT_APPLY_LOGIC | 120 |
ERR_ACCESSOR_NOT_NUMBER_NOR_STRING | 121 |
ERR_INDICE_APPLY_TO_SETS | 122 |
ERR_MORE_THAN_1_VALUE | 123 |
ERR_MISSING_PARAMETERS | 124 |
ERR_PARAMETERS_NOT_SAME_TYPE | 125 |
ERR_EXPECTED_VARIABLE_NAME | 126 |
ERR_INVALID_VARIABLE_NAME | 127 |
ERR_VARIABLE_ALREADY_DEFINED | 128 |
ERR_VARIABLE_UNDEFINED | 129 |
ERR_SET_EXPECTED | 130 |
ERR_ARRAY_EXPECTED | 131 |
ERR_TOO_MANY_PARAMETERS | 132 |
ERR_QUESTION_MUST_BE_SCALED | 133 |
ERR_EXPECTED_OBJECT | 134 |
ERR_PROPERTY_NEEDS_OBJECT | 135 |
ERR_PROPERTY_NOT_SUPPORTED | 136 |
ERR_MISSING_OBJECT_MARKER | 137 |
ERR_UNEXPECTED_VARIABLE_DECLARATION | 138 |
ERR_VARIABLE_EXPECTED | 139 |
ERR_VARIABLE_NOT_INITIALISED | 140 |
ERR_CANNOT_CHANGE_VARIABLE_TYPE | 141 |
ERR_SYNTAX_ERROR_FOR | 143 |
ERR_SYNTAX_ERROR_IF | 144 |
ERR_MISSING_CLOSING_ENDIF | 145 |
ERR_ELSE_ALREADY_DEFINED | 146 |
ERR_RETURN_NOT_SAME_VALUE | 147 |
ERR_LOOP_EXPECTED | 148 |
ERR_QUESTION_MUST_BE_IN_LOOP | 149 |
ERR_SAME_LOOP_ITEM | 150 |
ERR_QUESTION_NOT_LOOP | 151 |
ERR_QUESTION_NOT_CLOSED | 152 |
ERR_NOT_AVAILABLE_OUTSIDE_LOOP | 153 |
ERR_CURRENTADC_NOT_AVAILABLE | 154 |
ERR_INVALID_GOTO_LABEL | 155 |
ERR_INVALID_GOTO_BACK | 156 |
ERR_UNKNOWN_GOTO_LABEL | 157 |
ERR_LABEL_DEFINED_TWICE | 158 |
ERR_PARAMETER_WRONG_TYPE | 159 |
ERR_STRING_ARRAY_EXPECTED | 160 |
ERR_UNKNOWN_DYNQUESTION | 161 |
ERR_SYNTAX_ERROR_BREAK | 162 |
ERR_SYNTAX_ERROR_WHILE | 163 |
ERR_INVALID_QUESTION | 164 |
ERR_INVALID_FUNCTION_NAME | 165 |
ERR_INVALID_FUNCTION_DECLARATION | 166 |
ERR_INVALID_PARAMETER_NAME | 167 |
ERR_PARAMETER_NAME_DEFINED | 168 |
ERR_EXPECTED_AS | 169 |
ERR_INVALID_TYPE | 170 |
ERR_NESTED_FUNCTION_NOT_ALLOWED | 171 |
ERR_INVALID_MODULE_DECLARATION | 172 |
ERR_NESTED_MODULE_NOT_ALLOWED | 173 |
ERR_INVALID_MODULE_NAME | 174 |
ERR_UNEXPECTED_MODULE | 175 |
ERR_UNKNOWN_MODULE_OBJECT | 176 |
ERR_CANNOT_DEFINE_EXPORT | 177 |
ERR_MODULE_EXPECTED | 178 |
ERR_UNKNOWN_MODULE | 179 |
ERR_LAST_PARAMETERS_OPTIONAL | 180 |
ERR_STACK_OVERFLOW | 181 |
ERR_INFINITE_LOOP | 182 |
ERR_INVALID_JSON | 183 |
ERR_ACCESSOR_APPLY_TO_DICTIONARIES | 184 |
ERR_BOOLEAN_EXPECTED | 185 |
ERR_VARIANT_EXPECTED | 186 |
ERR_MODULE_USES_FORBIDDEN_KEYWORD | 187 |
ERR_CANNOT_OPEN_SCRIPT_FILE | 188 |
ERR_CANNOT_COMPILE_SCRIPT_FILE | 189 |