Revision Difference
Global.error(lowercase)#526602
<ambig page="Global.Error">You might be looking for the "Error" function, which has the same name as this function.</ambig>⤶
<title>error</title>
<function name="error" parent="Global" type="libraryfunc">
<description>
Throws a Lua error and breaks out of the current call stack.
</description>
<realm>Shared and Menu</realm>
<args>
<arg name="message" type="string">The error message to throw</arg>
<arg name="errorLevel" type="number" default="1">The level to throw the error at.</arg>
</args>
</function>