Enable JavaScript in the browser to display LibreOffice Help pages.
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.
ཡིག་རྟགས་ཕྲེང་བའི་མཚོན་ཚུལ་ལམ་གྲངས་ཀའི་མཚོན་ཚུལ་དེ་ "Error" ཡན་ལག་རིགས་ཀྱི་འགྱུར་ཚད་མཚོན་ཚུལ་ལ་བརྗེ་བསྒྱུར་བྱེད་པ།
བྱ་རིམ་ལག་བསྟར་བརྒྱུད་རིམ་ནང་ནོར་འཁྲུལ་ཐོན་པའི་ཕྲེང་ཨང་ཕྱིར་ལོག་
ནོར་འཁྲུལ་གྱིས་ཚབ་ཨང་ཕྱིར་ལོག་བྱེད་པ་དང་བྲིས་རྟགས་བྱ་རིམ་ལག་བསྟར་བརྒྱུད་རིམ་ནང་ཐོན་པའི་ནོར་འཁྲུལ་ལ་སྤྱོད།
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.