Static methods
staticfromString(s:Null<String>):AssertLevel
Converts a string into an AssertLevel
, the string must be spelled
exactly as the assert level. null
defaults to
AssertLevel.NoAssertions
.
Variables
inlineread onlyError:AssertLevel = 1
Assertions with this severity throw an ArmAssertionException
if they
fail, and optionally quit the game if the arm_assert_quit
flag is set.
inlineread onlyNoAssertions:AssertLevel = 2
Completely disable assertions. Don't use this level in assert()
calls!
inlineread onlyWarning:AssertLevel = 0
Assertions with this severity don't throw exceptions and only print to the console.