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 |
||
Line 1: | Line 1: | ||
lua errors are essentially untyped exceptions.<br> | lua errors are essentially untyped exceptions.<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. |
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.