Global/Error

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(deprecate)
(Bug and fixed description)
Line 1: Line 1:
 
{{Func
 
{{Func
|Description={{Deprecated|Alias of {{GlobalFunction|ErrorNoHalt}}.}}
+
|Description=Throws an error. This is currently an alias of {{GlobalFunction|ErrorNoHalt}} despite it once throwing a halting error like {{GlobalFunction|error}} without the stack trace appended.
  
Alias of {{GlobalFunction|ErrorNoHalt}}.
+
{{Bug|Fixed=|Issue=1810|Using this function in the menu state exits the menu.}}
 
+
{{Bug|Issue=2113|This function throws a non-halting error instead of a halting error.}}
{{Bug|Issue=1810|Using this function in the menu state exits the menu.}}
+
 
|Realm=Shared and Menu
 
|Realm=Shared and Menu
 
|IsClass=No
 
|IsClass=No

Revision as of 11:51, 8 December 2019

 Error( )

Description

Throws an error. This is currently an alias of ErrorNoHalt despite it once throwing a halting error like error without the stack trace appended.

BUG

Using this function in the menu state exits the menu.

Issue Tracker: #1810

This bug will be fixed in the next update.

BUG

This function throws a non-halting error instead of a halting error.

Issue Tracker: #2113

Arguments

vararg arguments

Converts all arguments to strings and prints them with no spacing or line breaks.
Personal tools
Navigation