This error can be used to handle or produce compilation errors in macros.
new(message:String, pos:Position, ?previous:Exception)
Instantiates an error with given message and position.
pos:Position
The position of the error.
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.
details():String
Detailed exception description.
Includes message, stack and the chain of previous exceptions (if set).
toString():String
Returns exception message.