W3cubDocs

/Haxe

Error

package haxe.macro

extends Exception

import haxe.macro.Expr

Available on all platforms

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

Constructor

new(message:String, pos:Position, ?previous:Exception)

Instantiates an error with given message and position.

Variables

pos:Position

The position of the error.

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