5 lines
517 B
Lua
5 lines
517 B
Lua
---@diagnostic disable: missing-return, lowercase-global
|
|
|
|
---@param errHandler function
|
|
---Changes the error handler to a specified function. The error handler is called by Lua's error() function, which in turn is called whenever a Lua error occurs. WoW's default error handler displays the error message, a stack trace and information about the local variables for the function. This dialog will only be shown if the "Show Lua errors" option is enabled in Interface Options.
|
|
function seterrorhandler(errHandler) end |