Garry's Mod Wiki

error

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.

Special Pages


Wikis

?

Render Time: 18ms

DB GetPage 2
Generate Html 2
SaveChanges (1) 5
Render Body 0
Render Sidebar 6