Skip to content

Try and Try catch

Apodemus Erectus edited this page Sep 5, 2021 · 1 revision

try and tryCatch are functions that can be used to catch exceptions

include "scripts/ArluqTools1-1/lua/try.lua"

Methods

  • try(func) - Function for try-catching

    • Param: function function
  • tryCatch(func, callback) - Function for try-catching with a custom callback

    • Param: function function
    • Param: callback function
Clone this wiki locally