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.
መቀየሪያ የ ሀረግ መግለጫ ወይንም የ ቁጥር መግለጫ ወደ የ ተለያየ መግለጫ ለ ንዑስ አይነት "ስህተት"
የ መስመ ቁጥር ይመልሳል ስህተት በሚፈጠር ጊዜ ፕሮራም ሲፈጸም
የ ስህተት ኮድ ይመልሳል የ ተፈጠረውን ስህተት የሚለይ ፕሮግራም በሚፈጸም ጊዜ
Use VBA Err object to raise or handle runtime errors.
መሞከሪያ ተለዋዋጭ የ ስህተት ዋጋ ይዞ እንደሆን
Returns the error message that corresponds to a value or raises a given error context.
የ ስህተት-አያያዝ አሰራር ማስቻያ ስህተት ከ ተፈጠረ በኋላ: ወይንም የ ፕሮግራም መፈጸሚያ ይቀጥላል
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.