# Foutvariabelen

Na uitvoering van het script zijn alle foutvariabelen voorzien van een waarde. De eerste variabele, ErrorMode, wordt ingevoerd door de gebruiker en de laatste drie door Qlik Sense met informatie over fouten in het script.

Gebruik de vervolgkeuzelijst bij elke variabele om een korte beschrijving en de syntaxis van de variabele te bekijken. Klik op de variabelenaam in de beschrijving van de syntaxis voor meer informatie.

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/ErrorVariables/ErrorVariables.htm)

#### ErrorMode

Deze foutvariabele bepaalt welke actie in Qlik Sense wordt uitgevoerd als bij uitvoering van het script een fout optreedt.

[**ErrorMode**](https://help.qlik.com/nl-NL/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/ErrorVariables/ErrorMode.htm)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/ErrorVariables/ErrorVariables.htm)

#### ScriptError

Deze foutvariabele retourneert de foutcode van de laatst uitgevoerde scriptopdracht.

[**ScriptError**](https://help.qlik.com/nl-NL/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/ErrorVariables/ScriptError.htm)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/ErrorVariables/ErrorVariables.htm)

#### ScriptErrorCount

De foutvariabele retourneert het totale aantal opdrachten die fouten hebben veroorzaakt bij de uitvoering van het huidige script. Deze variabele wordt voorafgaand aan de uitvoering van het script altijd op de beginwaarde 0 ingesteld.

[**ScriptErrorCount**](https://help.qlik.com/nl-NL/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/ErrorVariables/ScriptErrorCount.htm)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/ErrorVariables/ErrorVariables.htm)

#### ScriptErrorList

Deze foutvariabele bevat een samengestelde lijst van alle scriptfouten die tijdens de laatste uitvoering van het script zijn opgetreden. Elke fout staat op een nieuwe regel.

[**ScriptErrorList**](https://help.qlik.com/nl-NL/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/ErrorVariables/ScriptErrorList.htm)