starling-framework
Version:
A fast, productive library for 2D cross-platform development.
43 lines (25 loc) • 780 B
JavaScript
// Class: haxe.macro.Error
var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this
$global.Object.defineProperty(exports, "__esModule", {value: true});
var __map_reserved = {};
// Imports
var $hxClasses = require("./../../hxClasses_stub").default;
var $hxEnums = require("./../../hxEnums_stub").default;
// Constructor
var Error = function(m,p) {
this.message = m;
this.pos = p;
}
// Meta
Error.__name__ = "haxe.macro.Error";
Error.__isInterface__ = false;
Error.prototype = {
toString: function() {
return this.message;
}
};
Error.prototype.__class__ = Error.prototype.constructor = $hxClasses["haxe.macro.Error"] = Error;
// Init
// Statics
// Export
exports.default = Error;