Garry's Mod Wiki

error

You might be looking for the "Error" function, which has the same name as this function.
error( string message, number errorLevel = 1 )

Description

Throws a Lua error and breaks out of the current call stack.

Arguments

1 string message
The error message to throw
2 number errorLevel = 1
The level to throw the error at.

Page Links


Special Pages


Wikis

?

Render Time: 71ms

DB GetPage 43
Generate Html 4
SaveChanges (1) 15
Render Body 0
Render Sidebar 6