Error-Handling Functions
Use the following statements and functions to define the way Collabora Office Basic reacts to run-time errors.
Collabora Office Basic offers several methods to prevent the termination of a program when a run-time error occurs.
Converts a string expression or numeric expression to a variant expression of the sub type "Error".
VraÄa broj linije gdje se dogodila greÅ¡la prilikom izvrÅ¡avanja programa.
VraÄa poruku o greÅ¡ci koja prepoznaje greÅ¡ku koja se je bila dogodila prilikom izvrÅ¡enja programa.
Use VBA Err object to raise or handle runtime errors.
Tests if a variable contains an error value.
Returns the error message that corresponds to a value or raises a given error context.
OmoguÄuje proceduru za upravljanje greÅ¡kama nakon Å¡to se pojavi greÅ¡ka, ili nastavlja izvoÄenje programa.
Resets error information and indicates what to execute next.
The Exception service is a collection of methods to assist in code debugging in Basic and Python scripts and in error handling in Basic scripts.
In Basic scripts, when a run-time error occurs, the methods and properties of the Exception service help identify the error context and allow to handle it.