View source

class thx.error.ErrorWrapper extends Error

Available on all platforms

An error that keeps a reference to an internal error.

The internal error is stored as Dynamic to keep its usage flexible.

Instance Fields

Toggle inherited fields

var innerError:Dynamic

var message(default,null):String

defined by Error

Available on cpp, cs, java, neko, php, python, swf

The text message associated with the error.

function new(message:String, innerError:Dynamic, ?stack:Array<StackItem>, ?pos:PosInfos):Void

var pos(default,null):PosInfos

defined by Error

The location in code where the error has been instantiated.

var stackItems(default,null):Array<StackItem>

defined by Error

The collected error stack.

function toString():String

defined by Error