14 lines
514 B
Haxe
Raw Normal View History

2025-01-22 16:18:30 +01:00
package flash.errors;
extern class Error #if !flash_strict implements Dynamic #end {
@:flash.property var errorID(get,never) : Int;
var message : Dynamic;
var name : Dynamic;
function new(?message : Dynamic, id : Dynamic = 0) : Void;
function getStackTrace() : String;
private function get_errorID() : Int;
static final length : Int;
static function getErrorMessage(index : Int) : String;
static function throwError(type : Class<Dynamic>, index : UInt, restArgs : haxe.extern.Rest<Dynamic>) : Dynamic;
}