ivue-material-plus
Version:
A high quality UI components Library with Vue.js
26 lines (21 loc) • 646 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var shared = require('@vue/shared');
class IvueMaterialPlusError extends Error {
constructor(m) {
super(m);
this.name = "IvueMaterialPlusError";
}
}
function throwError(scope, m) {
throw new IvueMaterialPlusError(`[${scope}] ${m}`);
}
function debugWarn(scope, message) {
if (process.env.NODE_ENV !== "production") {
const error = shared.isString(scope) ? new IvueMaterialPlusError(`[${scope}] ${message}`) : scope;
console.warn(error);
}
}
exports.debugWarn = debugWarn;
exports.throwError = throwError;
//# sourceMappingURL=error.js.map