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: 57ms

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