Files
wow_Meta/api/pcall.lua
2025-05-04 15:15:00 +02:00

10 lines
397 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param f function
---@param ... list
---@return boolean status
---@return list or string ...
---Executes a function in protected mode. When running a function in protected mode, any errors do not propagate beyond the function (i.e. they do not stop all execution and call the default error handler).
function pcall(f, ...) end