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

@:value(cast 1)@:impl@:enuminlineread 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.

@:value(cast 2)@:impl@:enuminlineread onlyNoAssertions:AssertLevel = 2

Completely disable assertions. Don't use this level in assert() calls!

@:value(cast 0)@:impl@:enuminlineread onlyWarning:AssertLevel = 0

Assertions with this severity don't throw exceptions and only print to the console.