W3cubDocs

/Haxe

Error

package haxe.macro

import haxe.macro.Expr

Available on all platforms

This error can be used to handle or produce compilation errors in macros.

Constructor

new (m:String, p:Position)

Instantiates an error with given message and position.

Variables

message:String

The error message.

pos:Position

The position of the error.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/macro/Error.html