DCode

Covers Engine 2.0.0

xpcall

Call a function with an error handler.

Syntax

xpcall(function_name, error_handler)

Available in

  • File scope
  • Executable DCode bodies

Native C++

Lua only. This feature has no Native C++ code-generation binding.

Example

xpcall(function_name, error_handler)