Function; error - HWRM/KarosGraveyard GitHub Wiki

error(<sMessage>)

Description

(from LUA 4 Manual: 6.1 Basic Functions)

"Calls the error handler (see Section 4.7) and then terminates the last protected function called (in C: lua_dofile, lua_dostring, lua_dobuffer, or lua_callfunction; in Lua: dofile, dostring, or call in protected mode). If <sMessage> is nil, then the error handler is not called. Function error never returns."

Example

Arguments

<sMessage>:

Related Functions

Function Reference

LUA 4 Manual: 6.1 Basic Functions

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

⚠️ **GitHub.com Fallback** ⚠️