Lua errors: Difference between revisions

From wikinotes
(Created page with "lua errors are essentially untyped exceptions.<br> errors couple an embedded error object, with stack info.<br> lua itself returns errors with string error objects.<br> programs may bind any object as the error object.")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
lua errors are essentially untyped exceptions.<br>
lua errors are essentially untyped exceptions.<br>
errors couple an embedded error object, with stack info.<br>
they can be thrown and caught, and interrupt the execution of a program.
 
Errors couple an embedded error object, with stack info.<br>
lua itself returns errors with string error objects.<br>
lua itself returns errors with string error objects.<br>
programs may bind any object as the error object.
programs may bind any object as the error object.

Latest revision as of 20:59, 11 February 2024

lua errors are essentially untyped exceptions.
they can be thrown and caught, and interrupt the execution of a program.

Errors couple an embedded error object, with stack info.
lua itself returns errors with string error objects.
programs may bind any object as the error object.