We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18eef33 commit f24d4e9Copy full SHA for f24d4e9
content/en-us/reference/engine/globals/LuaGlobals.yaml
@@ -756,6 +756,10 @@ functions:
756
succeeds without errors. In this case, `xpcall()` also returns all results
757
from the call, after this first result. In case of any error, `xpcall()`
758
returns false plus the result from `err`.
759
+
760
+ Unlike `Global.LuaGlobals.pcall`, the `err` function preserves the stack
761
+ trace of function `f`, which can be inspected using `Library.debug.info()`
762
+ or `Library.debug.traceback()`.
763
parameters:
764
- name: f
765
type: function
0 commit comments