Error-Handling Functions
Use the following statements and functions to define the way LibreOffice Basic reacts to run-time errors.
LibreOffice 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".
Returns the line number where an error occurred during program execution.
ක්රමලේඛය ක්රියාත්මක කාලය තුල ඇති වූ දෝෂය හදුනාගන්නා වූ දෝෂ කේතයක් ලබාදෙයි.
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.
දෝෂයක් මතු වූ විට හෝ වැඩසටහන් ක්රියාත්මක වීම නැවත ආරම්භ කල විට දෝෂ හැසුරුම් ක්රම චර්යාව සක්රිය කරන්න.
Resets error information and indicates what to execute next.