Exception that is thrown when an assertion fails.
See also:
Assert
inlinenew(exprString:String, message:Null<String>, ?previous:Exception, ?pos:PosInfos)
Parameters:
exprString
The string representation of the failed assert condition.
message
Custom error message, use null to omit this.
null
finalposInfos:PosInfos
Position where this exception was created.
read onlymessage:String
Exception message.
read onlynative:Any
Native exception, which caused this exception.
read onlyprevious:Null<Exception>
Contains an exception, which was passed to previous constructor argument.
previous
read onlystack:CallStack
The call stack at the moment of the exception creation.
toString():String
Returns exception message.
details():String
Detailed exception description.
Includes message, stack and the chain of previous exceptions (if set).