Developer

API Reference

ILuaEx_ErrorMsg()

Brew Release
Brew MP 1.0.2
See Also
ILuaEx_Error(), ILuaEx_PushFString()
Description
Raises an error with a given error message format plus any extra arguments. It also prepends the error message with the file name and line number where the error occurred, if available.
As with ILuaEx_Error(), this function immediately causes a jump back to the last protected call invocation, but is idiomatic to call this in a return statement.
Parameters
  • pif
    []:
    a pointer to the ILuaEx object
  • pszFmt
    []:
    a format string following the same rules of ILuaEx_PushFString() ...: the arguments to the format options in fmt
Interface
Prototype
   int ILuaEx_ErrorMsg(ILuaEx *pif, const char *pszFmt, ...)
  • Follow