int r = hw_RaiseOnError(lua_State *L, int error, struct hwTagList *tags);
RaiseOnError()
command. It returns 0 if there was an error handling
function and it handled the error. Otherwise it simply returns the error code you passed in
error
.
This function is only here for people who need fine-tuned control over Hollywood's automatic
error handler. Normally it is not needed to call this function manually. Under normal
circumstances, managing error handlers should be left to Hollywood. If you need fine-tuned
control over the error handler, you may also want to take a look at the HWMCP_SETDISABLERAISEONERROR
tag for hw_MasterControl(). See hw_MasterControl for details.
Note that certain error codes need additional information that you have to specify by calling either hw_SetErrorString() or hw_SetErrorCode(). See Error codes for details.
lua_State
NULL
for now